summaryrefslogtreecommitdiff
path: root/misc/estic/files/patch-estic-freebsd.mak
diff options
context:
space:
mode:
Diffstat (limited to 'misc/estic/files/patch-estic-freebsd.mak')
-rw-r--r--misc/estic/files/patch-estic-freebsd.mak47
1 files changed, 38 insertions, 9 deletions
diff --git a/misc/estic/files/patch-estic-freebsd.mak b/misc/estic/files/patch-estic-freebsd.mak
index 07436f2a2027..187e2dbb7b3e 100644
--- a/misc/estic/files/patch-estic-freebsd.mak
+++ b/misc/estic/files/patch-estic-freebsd.mak
@@ -1,6 +1,6 @@
---- estic/make/freebsd.mak.orig Sat Sep 14 15:40:16 1996
-+++ estic/make/freebsd.mak Fri Mar 9 23:10:46 2001
-@@ -27,7 +27,8 @@
+--- 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 @@
AR = ar
LD = ld
ZIP = zip
@@ -10,13 +10,42 @@
LIB = ../spunk/spunk.a
INCDIR = ../spunk
-@@ -35,7 +36,8 @@
- # Both configurations of CFLAGS will probably work since FreeBSD has a
- # smart linker...
- #CFLAGS = -DFREEBSD -DUSE_OLD_TTY -g -Wall -I$(INCDIR) -x c++
--CFLAGS = -DFREEBSD -DUSE_OLD_TTY -g -Wall -I$(INCDIR) -x c++ -fno-implicit-templates -DEXPLICIT_TEMPLATES
-+#CFLAGS = -DFREEBSD -DUSE_OLD_TTY -g -Wall -I$(INCDIR) -x c++ -fno-implicit-templates -DEXPLICIT_TEMPLATES
+-CFLAGS = -DFREEBSD -g -Wall -I$(INCDIR) -x c++ -fno-implicit-templates -DEXPLICIT_TEMPLATES
+CFLAGS += -DFREEBSD -g -Wall -I$(INCDIR) -x c++ -fno-implicit-templates -DEXPLICIT_TEMPLATES
# ------------------------------------------------------------------------------
+@@ -70,10 +71,10 @@
+ icintcon.o \
+ iclog.o \
+ icmsgwin.o \
+- icprefix.o \
+ icshort.o \
+ icver.o \
+- istecmsg.o
++ istecmsg.o \
++ ../areacode/areacode.o
+
+ # ------------------------------------------------------------------------------
+ #
+@@ -81,7 +82,7 @@
+ all: estic
+
+ estic: $(LIB) $(OBJS)
+- $(CC) -o estic $(OBJS) $(LIB) -ltermcap -lg++
++ $(CC) -o estic $(OBJS) $(LIB) -ltermcap
+
+ # ------------------------------------------------------------------------------
+ # Create a dependency file
+@@ -112,9 +113,10 @@
+
+ clean:
+ -rm -f *.bak *~
++ -rm -f *.o
++ -rm -f estic
+
+ zap: clean
+- -rm -f *.o
+ -rm -f .depend
+
+