diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-12-26 21:51:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-12-26 21:51:55 +0000 |
commit | 11615189a791488dc8e5bc4b8d99c7e05bd50f5d (patch) | |
tree | 499101f15d22471915c3f476deb35c9233f2bc6d /sys-power/apcupsd/files | |
parent | reset umask #159111 (diff) | |
download | historical-11615189a791488dc8e5bc4b8d99c7e05bd50f5d.tar.gz historical-11615189a791488dc8e5bc4b8d99c7e05bd50f5d.tar.bz2 historical-11615189a791488dc8e5bc4b8d99c7e05bd50f5d.zip |
replace with version i sent upstream #159108
Package-Manager: portage-2.1.2_rc4-r1
Diffstat (limited to 'sys-power/apcupsd/files')
-rw-r--r-- | sys-power/apcupsd/files/3.12.4/exit-status-build.patch | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/sys-power/apcupsd/files/3.12.4/exit-status-build.patch b/sys-power/apcupsd/files/3.12.4/exit-status-build.patch index bce950448336..c397d9cc3bad 100644 --- a/sys-power/apcupsd/files/3.12.4/exit-status-build.patch +++ b/sys-power/apcupsd/files/3.12.4/exit-status-build.patch @@ -1,15 +1,26 @@ if a subdir fails, we need to abort ---- autoconf/targets.mak -+++ autoconf/targets.mak -@@ -20,9 +20,7 @@ +Index: autoconf/targets.mak +=================================================================== +RCS file: /cvsroot/apcupsd/apcupsd/autoconf/targets.mak,v +retrieving revision 1.21 +retrieving revision 1.22 +diff -u -p -r1.21 -r1.22 +--- autoconf/targets.mak 21 Sep 2006 00:07:35 -0000 1.21 ++++ autoconf/targets.mak 20 Dec 2006 01:46:11 -0000 1.22 +@@ -22,10 +22,11 @@ all-subdirs: + @if test ! x"$(subdirs)" = x; then \ for file in . ${subdirs}; \ do \ - (cd $$file && if test "$$file" != "."; then $(MAKE) DESTDIR=$(DESTDIR) all; fi); \ +- (cd $$file && if test "$$file" != "."; then $(MAKE) DESTDIR=$(DESTDIR) all; fi); \ - if test "$$?" != "0"; then \ - break; \ - fi; \ -+ test "$$?" != "0" && exit 1 ; \ ++ (cd $$file; \ ++ if test "$$file" != "."; then \ ++ $(MAKE) DESTDIR=$(DESTDIR) all || exit $$?; \ ++ fi; \ ++ ) || exit $$?; \ done; \ fi |