aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-09-27 10:03:53 +0800
committersteve <steve@FreeBSD.org>1999-09-27 10:03:53 +0800
commit02fc9b24b72943d88489e9e91b7adc60e11d5e04 (patch)
treea81ca1db235237202c4d866f9a25c53124f63bc1 /devel
parent4434ab7b451e38e8eeaa557405201a0bfd0ca2ab (diff)
downloadfreebsd-ports-gnome-02fc9b24b72943d88489e9e91b7adc60e11d5e04.tar.gz
freebsd-ports-gnome-02fc9b24b72943d88489e9e91b7adc60e11d5e04.tar.zst
freebsd-ports-gnome-02fc9b24b72943d88489e9e91b7adc60e11d5e04.zip
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.
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"