app-backup/burp: Terminate compile phase on error
authorAmadeusz Żołnowski <aidecoe@gentoo.org>
Sun, 17 Jan 2016 14:45:44 +0000 (14:45 +0000)
committerAmadeusz Żołnowski <aidecoe@gentoo.org>
Sun, 17 Jan 2016 14:45:57 +0000 (14:45 +0000)
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
app-backup/burp/burp-1.3.8.ebuild
app-backup/burp/burp-1.4.40.ebuild
app-backup/burp/files/1.3.48-non-zero-or-build-failure.patch [new file with mode: 0644]
app-backup/burp/files/1.3.8-non-zero-or-build-failure.patch [new file with mode: 0644]
app-backup/burp/files/1.4.40-non-zero-or-build-failure.patch [new file with mode: 0644]

index 9d2da509b6c34f84bed533f58b131bae92eee1ed..98b74238a8c66d2bdc1896b194aefef45f4d86fd 100644 (file)
@@ -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"
index 3a529b986f46a7505cdefe4dcb49a1d162304117..d2819507f885797aaed7ee9905b9d6f1761aa23e 100644 (file)
@@ -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"
        )
index 16d59fdf04949062e95f7f0ade3557ef8ff132c9..4acadd868b91ab8d9c830b9da6199a20205efc35 100644 (file)
@@ -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 (file)
index 0000000..2c57048
--- /dev/null
@@ -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 (file)
index 0000000..2c57048
--- /dev/null
@@ -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 (file)
index 0000000..2c57048
--- /dev/null
@@ -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: