diff --git a/mk/pkgformat/pkg/package.mk b/mk/pkgformat/pkg/package.mk index 1eb42b3946cb..b7ca28927191 100644 --- a/mk/pkgformat/pkg/package.mk +++ b/mk/pkgformat/pkg/package.mk @@ -73,7 +73,7 @@ ${PKGFILE}: ${STAGE_PKGFILE} ${PKGINFOFILE}: ${PKGFILE} ${RUN} ${MKDIR} ${.TARGET:H}; \ - ${PKG_INFO} -X ${PKGFILE} >${.TARGET} + ${PKG_INFO} -X ${PKGFILE} >${.TARGET} 2>/dev/null || ${TRUE} .endif ######################################################################