From owner-svn-ports-all@FreeBSD.ORG Wed Nov 20 07:21:49 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE861E0B; Wed, 20 Nov 2013 07:21:49 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BDDC322B8; Wed, 20 Nov 2013 07:21:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAK7Lnfh084545; Wed, 20 Nov 2013 07:21:49 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAK7LnLd084544; Wed, 20 Nov 2013 07:21:49 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201311200721.rAK7LnLd084544@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 20 Nov 2013 07:21:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334391 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 07:21:49 -0000 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} \