summaryrefslogtreecommitdiff
path: root/misc/estic/files/patch-spunk-freebsd-x.mak
diff options
context:
space:
mode:
Diffstat (limited to 'misc/estic/files/patch-spunk-freebsd-x.mak')
-rw-r--r--misc/estic/files/patch-spunk-freebsd-x.mak19
1 files changed, 13 insertions, 6 deletions
diff --git a/misc/estic/files/patch-spunk-freebsd-x.mak b/misc/estic/files/patch-spunk-freebsd-x.mak
index 2ee626383f41..32081e0b74d4 100644
--- a/misc/estic/files/patch-spunk-freebsd-x.mak
+++ b/misc/estic/files/patch-spunk-freebsd-x.mak
@@ -1,11 +1,11 @@
---- spunk/make/freebsd-x.mak.orig Sun Nov 24 22:33:26 1996
-+++ spunk/make/freebsd-x.mak Tue Sep 6 09:54:21 2005
+--- spunk/make/freebsd-x.mak.orig 1996-11-24 22:33:26.000000000 +0100
++++ spunk/make/freebsd-x.mak 2014-03-28 16:29:37.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++ -I /usr/X11R6/include -fno-implicit-templates -DEXPLICIT_TEMPLATES
@@ -24,7 +24,16 @@
lib: $(LIB)
-@@ -192,10 +192,12 @@
+@@ -149,7 +149,7 @@
+
+ depend dep:
+ @echo "Creating dependency information"
+- $(CC) -DFREEBSD -MM *.cc > .depend
++ $(CC) $(CFLAGS) -MM *.cc > .depend
+
+ # ------------------------------------------------------------------------------
+ # Target specific files
+@@ -192,9 +192,10 @@
clean:
-rm -f *~ linuxsrc/*~ bsdsrc/*~ unixsrc/*~
@@ -34,7 +43,5 @@
zap: clean
- -rm -f *.o
-rm -f .depend
-+
-