Ensure make patch fails if a patch fails to apply with bmake being the default make

Reported by:	marino
This commit is contained in:
Baptiste Daroussin 2013-11-20 07:21:49 +00:00
parent a23491a0ea
commit 89bcd875ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334391

View file

@ -3630,7 +3630,8 @@ patch-dos2unix:
do-patch:
.if defined(PATCHFILES)
@${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME}"
@(cd ${_DISTDIR}; \
@(set -e;
cd ${_DISTDIR}; \
patch_dist_strip () { \
case "$$1" in \
${_PATCH_DIST_STRIP_CASES} \