diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2014-03-31 17:45:13 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2014-03-31 17:45:13 +0000 |
commit | ce934b196720235f84dba05f133028813259d8c5 (patch) | |
tree | e5a0f51d26c9cb3aa7003f7663894e834d76a553 /misc/estic/files/patch-spunk-freebsd.mak | |
parent | - Add staging support (diff) |
- fix makefiles to honor CXX and CXXFLAGS
- fix some C++ problems
- mark BROKEN on FreeBSD10, no gcc 4.2
Notes
Notes:
svn path=/head/; revision=349780
Diffstat (limited to 'misc/estic/files/patch-spunk-freebsd.mak')
-rw-r--r-- | misc/estic/files/patch-spunk-freebsd.mak | 15 |
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: |