summaryrefslogtreecommitdiff
path: root/math/abacus/patches/patch-aa
blob: bc9211bd048e3d2f19a9e999b4371f03007114ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-aa,v 1.2 2000/09/05 17:46:25 jwise Exp $

--- Makefile.orig	Sat Dec 12 14:34:20 1998
+++ Makefile	Sat Dec 12 14:37:14 1998
@@ -10,11 +10,12 @@
 TARDIRS = $(DIRS) RCS regressive doc canvas-tcl8.0.0 canvas-tcl8.0.3
 TARFILES = Makefile  $(TARDIRS) VERSIONS awk_file abacus doc INSTALL COPYING \
 	Makefile.options
+CCFLAGS= ${CFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl -I${LOCALBASE}/include/tk
 
 all: $(TARGET)
 
 $(TARGET) : binary
-	for i in $(DIRS); do $(MAKE)  -C $$i ; done
+	for i in ${DIRS}; do ${MAKE} CCFLAGS="${CCFLAGS}" -C $$i ; done
 
 binary: 
 
@@ -29,7 +30,7 @@
 	rm -f *~ gmon.out tests/* regressive/*.bck
 
 dep : version
-	for i in $(DIRS); do $(MAKE) dep -C $$i; done
+	for i in ${DIRS}; do ${MAKE} CCFLAGS="${CCFLAGS}" dep -C $$i; done
 	rm -f *~