aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-11-20 07:21:49 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-11-20 07:21:49 +0000
commit89bcd875ca036e8b5b64cadedd62202eb6bcf319 (patch)
tree67d1437a51f57472e69803f7eae10aac3f729def /Mk/bsd.port.mk
parenta23491a0ea0e104b99a0c64b1e7ed3381027dfd9 (diff)
downloadports-89bcd875ca036e8b5b64cadedd62202eb6bcf319.tar.gz
ports-89bcd875ca036e8b5b64cadedd62202eb6bcf319.zip
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index fa739730909e..9440cf647f80 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -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} \