aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-06-03 17:27:06 +0800
committerkris <kris@FreeBSD.org>2002-06-03 17:27:06 +0800
commite398feaf10fd04c8c5773001e87e5b8195d4d6fa (patch)
treee1f4c3a25b3f78fd8b41310f0e57cfe5081d3bb1 /devel
parent2e335d89e709c977141d9c075b8bb79d4577cd95 (diff)
downloadfreebsd-ports-gnome-e398feaf10fd04c8c5773001e87e5b8195d4d6fa.tar.gz
freebsd-ports-gnome-e398feaf10fd04c8c5773001e87e5b8195d4d6fa.tar.zst
freebsd-ports-gnome-e398feaf10fd04c8c5773001e87e5b8195d4d6fa.zip
Respect CXX and CXXFLAGS
Diffstat (limited to 'devel')
-rw-r--r--devel/bcpp/files/patch-makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/bcpp/files/patch-makefile b/devel/bcpp/files/patch-makefile
new file mode 100644
index 000000000000..381e0a6cb045
--- /dev/null
+++ b/devel/bcpp/files/patch-makefile
@@ -0,0 +1,14 @@
+--- makefile.orig Tue Aug 10 16:04:32 1999
++++ makefile Mon Jun 3 02:26:21 2002
+@@ -2,9 +2,8 @@
+
+ D =./
+
+-CXX =gcc
+-CPPFLAGS =-I$(D) -O2 -Wall #-DDEBUG -DDEBUG2
+-CXXFLAGS = -x c++ $(CPPFLAGS)
++CXX ?=gcc
++CXXFLAGS +=-I$(D) -Wall #-DDEBUG -DDEBUG2
+
+ .SUFFIXES: .cpp .o
+