summaryrefslogtreecommitdiff
path: root/misc/estic/files/patch-au
diff options
context:
space:
mode:
Diffstat (limited to 'misc/estic/files/patch-au')
-rw-r--r--misc/estic/files/patch-au16
1 files changed, 11 insertions, 5 deletions
diff --git a/misc/estic/files/patch-au b/misc/estic/files/patch-au
index 2c95e2cc9ed2..aa2a0569ab32 100644
--- a/misc/estic/files/patch-au
+++ b/misc/estic/files/patch-au
@@ -1,15 +1,21 @@
---- spunk/make/freebsd-x.mak.orig Sat Feb 26 18:19:20 2000
-+++ spunk/make/freebsd-x.mak Sat Feb 26 18:26:26 2000
-@@ -31,7 +31,7 @@
+--- spunk/make/freebsd-x.mak.orig Fri Jun 21 12:57:24 1996
++++ spunk/make/freebsd-x.mak Fri Mar 9 23:13:10 2001
+@@ -27,11 +27,12 @@
+ AR = ar
+ LD = ld
+ ZIP = zip
+-CC = g++
++CXX ?= g++
++CC = ${CXX}
# Flags for the gnu compiler (use the second one for gcc >= 2.6.0)
#CFLAGS = -DFREEBSD -g -Wall -x c++ -I /usr/X11/include
-CFLAGS = -DFREEBSD -g -Wall -x c++ -I /usr/X11/include -fno-implicit-templates -DEXPLICIT_TEMPLATES
-+CFLAGS = -DFREEBSD -g -Wall -x c++ -I ${X11BASE}/include -fno-implicit-templates -DEXPLICIT_TEMPLATES
++CFLAGS += -DFREEBSD -g -Wall -x c++ -I ${X11BASE}/include -fno-implicit-templates -DEXPLICIT_TEMPLATES
LIB = spunk.a
ZIPFILE = spunk.zip
-@@ -206,7 +206,7 @@
+@@ -206,7 +207,7 @@
# Dummy targets
xresed: $(LIB) $(RESEDITOBJS) $(HDRS)