summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-05-06 03:07:23 +0000
committerdholland <dholland@pkgsrc.org>2012-05-06 03:07:23 +0000
commitb134a9ea937624993ca4c1784564f8cba9a15cc0 (patch)
treef9ca5be15e127a64fc7f65f5eeacc2875fabd929 /devel
parent019c7ed8242881f5340abf52e241a8f72cd30930 (diff)
downloadpkgsrc-b134a9ea937624993ca4c1784564f8cba9a15cc0.tar.gz
Makefiles should stop on error.
Diffstat (limited to 'devel')
-rw-r--r--devel/sdcc/distinfo3
-rw-r--r--devel/sdcc/patches/patch-Makefile_in100
2 files changed, 102 insertions, 1 deletions
diff --git a/devel/sdcc/distinfo b/devel/sdcc/distinfo
index c289ecea4e3..a018bd9303c 100644
--- a/devel/sdcc/distinfo
+++ b/devel/sdcc/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.16 2012/05/05 21:33:55 dholland Exp $
+$NetBSD: distinfo,v 1.17 2012/05/06 03:07:23 dholland Exp $
SHA1 (sdcc-src-2.8.0.tar.bz2) = 487a9c576130bb1bfb225fe36984f485aac0f513
RMD160 (sdcc-src-2.8.0.tar.bz2) = b91d6ca5642011f0e735c63e0ed4bc6b33128b9f
Size (sdcc-src-2.8.0.tar.bz2) = 3460693 bytes
+SHA1 (patch-Makefile_in) = 024ed627a88c2d17ac3981c59ec186a8a8ef48d3
SHA1 (patch-aa) = 7ef1d2d005340b0e18039ff14334b889df5b8b3f
SHA1 (patch-sim_ucsim_cmd.src_Makefile.in) = e31d041b38fc372ffd513522ec33c12a61c6c67c
SHA1 (patch-sim_ucsim_cmd.src_cmdlex.cc) = e02bdf0d70d060646f6473bad6477687c4360144
diff --git a/devel/sdcc/patches/patch-Makefile_in b/devel/sdcc/patches/patch-Makefile_in
new file mode 100644
index 00000000000..4f0d762b31b
--- /dev/null
+++ b/devel/sdcc/patches/patch-Makefile_in
@@ -0,0 +1,100 @@
+$NetBSD: patch-Makefile_in,v 1.1 2012/05/06 03:07:23 dholland Exp $
+
+Make the makefile stop on error.
+
+--- Makefile.in~ 2007-02-14 20:08:31.000000000 +0000
++++ Makefile.in
+@@ -75,16 +75,16 @@ all: checkconf sdcc
+ tini: checkconf sdcc-tini
+
+ sdcc-libs:
+- for lib in $(SDCC_LIBS); do $(MAKE) -C $$lib; done
++ for lib in $(SDCC_LIBS); do $(MAKE) -C $$lib || exit 1; done
+
+ sdcc-cc: sdcc-libs
+ $(MAKE) -C src
+
+ sdcc-aslink:
+- for as in $(SDCC_ASLINK); do $(MAKE) -C $$as ; done
++ for as in $(SDCC_ASLINK); do $(MAKE) -C $$as || exit 1; done
+
+ sdcc-misc:
+- for misc in $(SDCC_MISC); do $(MAKE) -C $$misc ; done
++ for misc in $(SDCC_MISC); do $(MAKE) -C $$misc || exit 1; done
+
+ sdcc-packihx:
+ $(MAKE) -C $(SDCC_PACKIHX)
+@@ -121,13 +121,13 @@ sdcc-base: sdcc-cc sdcc-aslink
+ install:
+ $(MAKE) -f main.mk install
+ @for pkg in $(PKGS); do\
+- $(MAKE) -C $$pkg install ;\
++ $(MAKE) -C $$pkg install || exit 1;\
+ done
+
+ install-tini:
+ $(MAKE) -f main.mk install
+ @for pkg in $(PKGS_TINI); do\
+- $(MAKE) -C $$pkg install ;\
++ $(MAKE) -C $$pkg install || exit 1;\
+ done
+ $(MAKE) -C device/lib install
+
+@@ -138,7 +138,7 @@ install-tini:
+ uninstall:
+ $(MAKE) -f main.mk uninstall
+ @for pkg in $(PKGS); do\
+- $(MAKE) -C $$pkg uninstall ;\
++ $(MAKE) -C $$pkg uninstall || exit 1;\
+ done
+
+
+@@ -149,7 +149,7 @@ clean:
+ $(MAKE) -f $(srcdir)/clean.mk clean
+ @echo "+ Cleaning packages in their directories..."
+ for pkg in $(PKGS); do\
+- $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) clean ;\
++ $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) clean || exit 1;\
+ done
+
+ # Deleting all files created by configuring or building the program
+@@ -157,10 +157,10 @@ clean:
+ distclean:
+ @echo "+ DistCleaning packages using clean.mk..."
+ for pkg in $(PKGS); do\
+- $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) distclean ;\
++ $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) distclean || exit 1;\
+ done
+ for pkg in $(SDCC_EXTRA); do \
+- $(MAKE) -C $$pkg distclean; \
++ $(MAKE) -C $$pkg distclean || exit 1; \
+ done
+ @echo "+ DistCleaning root of the project..."
+ $(MAKE) -f $(srcdir)/clean.mk distclean
+@@ -170,7 +170,7 @@ distclean:
+ mostlyclean: clean
+ $(MAKE) -f $(srcdir)/clean.mk mostlyclean
+ for pkg in $(PKGS); do\
+- $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) mostlyclean ;\
++ $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) mostlyclean || exit 1;\
+ done
+
+
+@@ -180,7 +180,7 @@ mostlyclean: clean
+ realclean: distclean
+ $(MAKE) -f $(srcdir)/clean.mk realclean
+ for pkg in $(PKGS); do\
+- $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) realclean ;\
++ $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) realclean || exit 1;\
+ done
+
+
+@@ -209,7 +209,7 @@ installcheck:
+ dep:
+ $(MAKE) -f main.mk dep
+ @for pkg in $(PKGS); do\
+- $(MAKE) -C $$pkg dep ;\
++ $(MAKE) -C $$pkg dep || exit 1;\
+ done
+
+