Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 07:21:49 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334391 - head/Mk
Message-ID:  <201311200721.rAK7LnLd084544@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Nov 20 07:21:49 2013
New Revision: 334391
URL: http://svnweb.freebsd.org/changeset/ports/334391

Log:
  Ensure make patch fails if a patch fails to apply with bmake being the default make
  
  Reported by:	marino

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Wed Nov 20 03:32:49 2013	(r334390)
+++ head/Mk/bsd.port.mk	Wed Nov 20 07:21:49 2013	(r334391)
@@ -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} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311200721.rAK7LnLd084544>