commit:     e84839054932a23e20fb788532f731cff6f82577
Author:     Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 14:45:44 2016 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 14:45:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8483905

app-backup/burp: Terminate compile phase on error

Because exit status of sub call to make gets lost, ebuild proceeds to
next phase even on failure. This results in installing all files except
of binaries. Patch first level Makefile to exit with 1 on failure.

Package-Manager: portage-2.2.26

 app-backup/burp/burp-1.3.48.ebuild                          |  3 ++-
 app-backup/burp/burp-1.3.8.ebuild                           |  3 ++-
 app-backup/burp/burp-1.4.40.ebuild                          |  3 ++-
 .../burp/files/1.3.48-non-zero-or-build-failure.patch       | 13 +++++++++++++
 app-backup/burp/files/1.3.8-non-zero-or-build-failure.patch | 13 +++++++++++++
 .../burp/files/1.4.40-non-zero-or-build-failure.patch       | 13 +++++++++++++
 6 files changed, 45 insertions(+), 3 deletions(-)

diff --git a/app-backup/burp/burp-1.3.48.ebuild 
b/app-backup/burp/burp-1.3.48.ebuild
index 9d2da50..98b7423 100644
--- a/app-backup/burp/burp-1.3.48.ebuild
+++ b/app-backup/burp/burp-1.3.48.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -35,6 +35,7 @@ RDEPEND="${DEPEND}
 
 DOCS=( CONTRIBUTORS DONATIONS UPGRADING )
 PATCHES=(
+       "${FILESDIR}/${PV}-non-zero-or-build-failure.patch"
        "${FILESDIR}/${PV}-bedup-conf-path.patch"
        "${FILESDIR}/${PV}-tinfo.patch"
        "${FILESDIR}/${PV}-0001-Set-default_md-sha256-in-CA.cnf.patch"

diff --git a/app-backup/burp/burp-1.3.8.ebuild 
b/app-backup/burp/burp-1.3.8.ebuild
index 3a529b9..d281950 100644
--- a/app-backup/burp/burp-1.3.8.ebuild
+++ b/app-backup/burp/burp-1.3.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -34,6 +34,7 @@ RDEPEND="${DEPEND}
 
 DOCS=( CONTRIBUTORS DONATIONS UPGRADING )
 PATCHES=(
+       "${FILESDIR}/${PV}-non-zero-or-build-failure.patch"
        "${FILESDIR}/${PV}-bedup-conf-path.patch"
        "${FILESDIR}/${PV}-0001-Set-default_md-sha256-in-CA.cnf.patch"
        )

diff --git a/app-backup/burp/burp-1.4.40.ebuild 
b/app-backup/burp/burp-1.4.40.ebuild
index 16d59fd..4acadd8 100644
--- a/app-backup/burp/burp-1.4.40.ebuild
+++ b/app-backup/burp/burp-1.4.40.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -35,6 +35,7 @@ RDEPEND="${DEPEND}
 
 DOCS=( CONTRIBUTORS DONATIONS UPGRADING )
 PATCHES=(
+       "${FILESDIR}/${PV}-non-zero-or-build-failure.patch"
        "${FILESDIR}/${PV}-bedup-conf-path.patch"
        "${FILESDIR}/${PV}-tinfo.patch"
        )

diff --git a/app-backup/burp/files/1.3.48-non-zero-or-build-failure.patch 
b/app-backup/burp/files/1.3.48-non-zero-or-build-failure.patch
new file mode 100644
index 0000000..2c57048
--- /dev/null
+++ b/app-backup/burp/files/1.3.48-non-zero-or-build-failure.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.in b/Makefile.in
+index ac22a24..f99ce96 100755
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -40,7 +40,7 @@ all: Makefile
+       @for I in ${all_subdirs}; \
+         do (cd $$I; echo "==>Entering directory `pwd`"; \
+             $(MAKE) $@ || (echo ""; echo ""; echo "  ====== Error in `pwd` 
======"; \
+-                          echo ""; echo "";)); \
++                          echo ""; echo ""; exit 1;)) || exit 1; \
+       done
+ 
+ depend:

diff --git a/app-backup/burp/files/1.3.8-non-zero-or-build-failure.patch 
b/app-backup/burp/files/1.3.8-non-zero-or-build-failure.patch
new file mode 100644
index 0000000..2c57048
--- /dev/null
+++ b/app-backup/burp/files/1.3.8-non-zero-or-build-failure.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.in b/Makefile.in
+index ac22a24..f99ce96 100755
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -40,7 +40,7 @@ all: Makefile
+       @for I in ${all_subdirs}; \
+         do (cd $$I; echo "==>Entering directory `pwd`"; \
+             $(MAKE) $@ || (echo ""; echo ""; echo "  ====== Error in `pwd` 
======"; \
+-                          echo ""; echo "";)); \
++                          echo ""; echo ""; exit 1;)) || exit 1; \
+       done
+ 
+ depend:

diff --git a/app-backup/burp/files/1.4.40-non-zero-or-build-failure.patch 
b/app-backup/burp/files/1.4.40-non-zero-or-build-failure.patch
new file mode 100644
index 0000000..2c57048
--- /dev/null
+++ b/app-backup/burp/files/1.4.40-non-zero-or-build-failure.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.in b/Makefile.in
+index ac22a24..f99ce96 100755
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -40,7 +40,7 @@ all: Makefile
+       @for I in ${all_subdirs}; \
+         do (cd $$I; echo "==>Entering directory `pwd`"; \
+             $(MAKE) $@ || (echo ""; echo ""; echo "  ====== Error in `pwd` 
======"; \
+-                          echo ""; echo "";)); \
++                          echo ""; echo ""; exit 1;)) || exit 1; \
+       done
+ 
+ depend:

Reply via email to