summaryrefslogtreecommitdiff
path: root/misc/estic/files/patch-spunk-freebsd.mak
diff options
context:
space:
mode:
Diffstat (limited to 'misc/estic/files/patch-spunk-freebsd.mak')
-rw-r--r--misc/estic/files/patch-spunk-freebsd.mak15
1 files changed, 12 insertions, 3 deletions
diff --git a/misc/estic/files/patch-spunk-freebsd.mak b/misc/estic/files/patch-spunk-freebsd.mak
index 9be2ca2366fb..070a3ea9b30c 100644
--- a/misc/estic/files/patch-spunk-freebsd.mak
+++ b/misc/estic/files/patch-spunk-freebsd.mak
@@ -1,11 +1,11 @@
---- spunk/make/freebsd.mak.orig Sun Nov 24 22:33:26 1996
-+++ spunk/make/freebsd.mak Tue Sep 6 09:54:21 2005
+--- spunk/make/freebsd.mak.orig 1996-11-24 22:33:26.000000000 +0100
++++ spunk/make/freebsd.mak 2014-03-28 16:25:12.000000000 +0100
@@ -27,10 +27,10 @@
AR = ar
LD = ld
ZIP = zip
-CC = g++
-+CC = $(CXX)
++CC?= g++
# Flags for the gnu compiler
-CFLAGS = -DFREEBSD -DUSE_OLD_TTY -g -Wall -x c++ -fno-implicit-templates -DEXPLICIT_TEMPLATES
@@ -22,6 +22,15 @@
lib: $(LIB)
+@@ -150,7 +150,7 @@
+
+ depend dep:
+ @echo "Creating dependency information"
+- $(CC) -DFREEBSD -MM *.cc > .depend
++ $(CC) ${CFLAGS} -MM *.cc > .depend
+
+ # ------------------------------------------------------------------------------
+ # Target specific files
@@ -196,9 +196,10 @@
clean: