diff options
Diffstat (limited to 'misc/estic/files/patch-estic-freebsd-x.mak')
-rw-r--r-- | misc/estic/files/patch-estic-freebsd-x.mak | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/misc/estic/files/patch-estic-freebsd-x.mak b/misc/estic/files/patch-estic-freebsd-x.mak new file mode 100644 index 000000000000..5da664d178bf --- /dev/null +++ b/misc/estic/files/patch-estic-freebsd-x.mak @@ -0,0 +1,30 @@ +--- estic/make/freebsd-x.mak.orig Sat Sep 14 15:40:16 1996 ++++ estic/make/freebsd-x.mak Fri Mar 9 23:10:30 2001 +@@ -27,7 +27,8 @@ + AR = ar + LD = ld + ZIP = zip +-CC = g++ ++CXX ?= g++ ++CC = ${CXX} + + LIB = ../spunk/spunk.a + INCDIR = ../spunk +@@ -35,7 +36,7 @@ + # Both configurations of CFLAGS will probably work since FreeBSD has a + # smart linker... + #CFLAGS = -DFREEBSD -DUSE_OLD_TTY -g -Wall -I$(INCDIR) -x c++ -L /usr/X11R6/lib +-CFLAGS = -DFREEBSD -DUSE_OLD_TTY -g -Wall -I$(INCDIR) -x c++ -L /usr/X11R6/lib -fno-implicit-templates -DEXPLICIT_TEMPLATES ++CFLAGS += -DFREEBSD -g -Wall -I$(INCDIR) -x c++ -L $(X11BASE)/lib -fno-implicit-templates -DEXPLICIT_TEMPLATES + + + # ------------------------------------------------------------------------------ +@@ -79,7 +80,7 @@ + all: xestic + + xestic: $(LIB) $(OBJS) +- $(CC) -o xestic $(OBJS) $(LIB) -ltermcap -lg++ -lX11 ++ $(CC) -L /usr/X11R6/lib -o xestic $(OBJS) $(LIB) -ltermcap -lX11 + + + # ------------------------------------------------------------------------------ |