From 60210709cb88da9712c6890f7d1d261a34ec5a88 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 9 May 2005 13:50:34 +0000 Subject: [PATCH] Clifford Wolf: The 'iptraf' package is broken but ignores the build error This patch doesn't fix the package - but it fixes this packages build system so it fails on errors... [2005050913582115199] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5970 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/tsa/iptraf/pedantic-setup.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/tsa/iptraf/pedantic-setup.patch diff --git a/package/tsa/iptraf/pedantic-setup.patch b/package/tsa/iptraf/pedantic-setup.patch new file mode 100644 index 000000000..c1ae3cd69 --- /dev/null +++ b/package/tsa/iptraf/pedantic-setup.patch @@ -0,0 +1,22 @@ +--- ./Setup.orig 2005-05-09 23:10:54.000000000 +0200 ++++ ./Setup 2005-05-09 23:11:32.000000000 +0200 +@@ -26,9 +26,9 @@ + if [ -f src/iptraf.c ]; then + echo ">>>>>> COMPILING IPTRAF $VERSION FROM SUPPLIED SOURCE CODE" + echo +- /usr/bin/make -C src clean +- /usr/bin/make -C support clean +- /usr/bin/make -C src all ++ /usr/bin/make -C src clean || exit 1 ++ /usr/bin/make -C support clean || exit 1 ++ /usr/bin/make -C src all || exit 1 + else + echo "*** ERROR: Unable to locate source files." + echo "*** If this is a binary-only distribution of IPTraf, try running $0" +@@ -40,5 +40,5 @@ + fi + fi + +-/usr/bin/make -C src install ++/usr/bin/make -C src install || exit 1 +