summaryrefslogtreecommitdiff
path: root/math/abs/patches
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2002-09-26 15:46:47 +0000
committerjschauma <jschauma@pkgsrc.org>2002-09-26 15:46:47 +0000
commit8f5616e1a9726b07cc68b4fd0a003e9b8b1a8e13 (patch)
tree2a37bba89effebea7773fe793dea1a8244882258 /math/abs/patches
parent09871069e50e64383d3177adced27d904634b02f (diff)
downloadpkgsrc-8f5616e1a9726b07cc68b4fd0a003e9b8b1a8e13.tar.gz
Patch Makefile to quote variables.
This prevents the compiler to bail out if the user has set CFLAGS=-O2 -mcpu=pentiumpro -march=pentium for example.
Diffstat (limited to 'math/abs/patches')
-rw-r--r--math/abs/patches/patch-aa14
1 files changed, 10 insertions, 4 deletions
diff --git a/math/abs/patches/patch-aa b/math/abs/patches/patch-aa
index b9ccebd9913..84527640fcc 100644
--- a/math/abs/patches/patch-aa
+++ b/math/abs/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.4 2000/11/17 07:36:34 rh Exp $
+$NetBSD: patch-aa,v 1.5 2002/09/26 15:46:47 jschauma Exp $
---- Makefile.netBSD.orig Wed Nov 15 20:59:20 2000
-+++ Makefile.netBSD
+--- Makefile.netBSD.orig Wed Nov 15 14:59:20 2000
++++ Makefile.netBSD Thu Sep 26 11:42:57 2002
@@ -1,24 +1,24 @@
CURRENT_DIR = .
@@ -32,7 +32,13 @@ $NetBSD: patch-aa,v 1.4 2000/11/17 07:36:34 rh Exp $
#for hp Ccompiler = c89
Ccompiler = cc
-@@ -35,8 +35,8 @@
+@@ -30,13 +30,13 @@
+ if [ -d $$i ] ; \
+ then \
+ (cd $$i ; echo "making" all "in $(CURRENT_DIR)/$$i..."; \
+- $(MAKE) TOPCFLAGS=$(CFLAGS) IncludeDir=$(IncludeDir) Ccompiler=$(Ccompiler) DEFINE=$(DEFINE) all); \
++ $(MAKE) TOPCFLAGS="$(CFLAGS)" IncludeDir="$(IncludeDir)" Ccompiler="$(Ccompiler)" DEFINE="$(DEFINE)" all); \
+ fi \
done
cc -o abs ./Plot/*.o ./ABV/*.o \
Fig/*.o Interface/*.o X11/xedit/*.o \