summaryrefslogtreecommitdiff
path: root/misc/estic/files/patch-estic-freebsd.mak
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2014-03-31 17:45:13 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2014-03-31 17:45:13 +0000
commitce934b196720235f84dba05f133028813259d8c5 (patch)
treee5a0f51d26c9cb3aa7003f7663894e834d76a553 /misc/estic/files/patch-estic-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-estic-freebsd.mak')
-rw-r--r--misc/estic/files/patch-estic-freebsd.mak23
1 files changed, 15 insertions, 8 deletions
diff --git a/misc/estic/files/patch-estic-freebsd.mak b/misc/estic/files/patch-estic-freebsd.mak
index 187e2dbb7b3e..2a7e90b72c05 100644
--- a/misc/estic/files/patch-estic-freebsd.mak
+++ b/misc/estic/files/patch-estic-freebsd.mak
@@ -1,12 +1,11 @@
---- estic/make/freebsd.mak.orig Fri Jan 31 03:57:24 1997
-+++ estic/make/freebsd.mak Tue Sep 6 09:54:21 2005
-@@ -27,11 +27,12 @@
+--- estic/make/freebsd.mak.orig 1997-01-31 03:57:24.000000000 +0100
++++ estic/make/freebsd.mak 2014-03-28 17:03:18.000000000 +0100
+@@ -27,11 +27,11 @@
AR = ar
LD = ld
ZIP = zip
-CC = g++
-+CXX ?= g++
-+CC = ${CXX}
++CC?= g++
LIB = ../spunk/spunk.a
INCDIR = ../spunk
@@ -15,7 +14,7 @@
# ------------------------------------------------------------------------------
-@@ -70,10 +71,10 @@
+@@ -70,10 +70,10 @@
icintcon.o \
iclog.o \
icmsgwin.o \
@@ -28,7 +27,7 @@
# ------------------------------------------------------------------------------
#
-@@ -81,7 +82,7 @@
+@@ -81,14 +81,14 @@
all: estic
estic: $(LIB) $(OBJS)
@@ -37,7 +36,15 @@
# ------------------------------------------------------------------------------
# Create a dependency file
-@@ -112,9 +113,10 @@
+
+ depend dep:
+ @echo "Creating dependency information"
+- $(CC) -I$(INCDIR) -DFREEBSD -MM *.cc > .depend
++ $(CC) $(CFLAGS) -MM *.cc > .depend
+
+ # ------------------------------------------------------------------------------
+ # Create a ZIP file
+@@ -112,9 +112,10 @@
clean:
-rm -f *.bak *~