summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-09-27 02:03:53 +0000
committerSteve Price <steve@FreeBSD.org>1999-09-27 02:03:53 +0000
commitfedb27dedb967d3fe8afdf36f9ccecda29e30115 (patch)
tree81b2db7dfebb67a55348469b46e4bd8594597f48 /devel
parentThe distfile moved around on the MASTER_SITE and changed names. The (diff)
We haven't for a long time (if ever) had to call g++ with -lg++ to compile
a program so remove it and fix the build for all -current machines.
Notes
Notes: svn path=/head/; revision=21977
Diffstat (limited to 'devel')
-rw-r--r--devel/re2c/files/patch-ab13
1 files changed, 11 insertions, 2 deletions
diff --git a/devel/re2c/files/patch-ab b/devel/re2c/files/patch-ab
index 3aa754bd7c06..3767898c5471 100644
--- a/devel/re2c/files/patch-ab
+++ b/devel/re2c/files/patch-ab
@@ -1,5 +1,5 @@
---- Makefile.orig Thu May 14 16:36:54 1998
-+++ Makefile Thu May 14 16:37:14 1998
+--- Makefile.orig Fri Apr 15 20:23:55 1994
++++ Makefile Sun Sep 26 09:42:57 1999
@@ -15,7 +15,7 @@
OBJS = code.o dfa.o main.o parser.o actions.o scanner.o substr.o\
translate.o
@@ -9,3 +9,12 @@
CFLAGS = -O2 -Wall -I.
YFLAGS = -d
LDFLAGS =
+@@ -30,7 +30,7 @@
+ mv -f y.tab.c parser.cc
+
+ re2c: $(OBJS)
+- $(CC) -o $@ $(OBJS) $(LDFLAGS) -lg++
++ $(CC) -o $@ $(OBJS) $(LDFLAGS) #-lg++
+
+ #
+ # generated with "gcc -I. -MM -x c++ *.cc *.y *.re"