aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-01-26 14:32:43 +0800
committerkris <kris@FreeBSD.org>2002-01-26 14:32:43 +0800
commit04453c63b4d212437d93ed72f7f7cc55dba51ecd (patch)
tree6e6d78a391e9584ebcab6ca9214abfe491cf0225 /net-mgmt
parent2e6cd67506a7ca2e653afc1152679e8f055c5e4d (diff)
downloadfreebsd-ports-graphics-04453c63b4d212437d93ed72f7f7cc55dba51ecd.tar.gz
freebsd-ports-graphics-04453c63b4d212437d93ed72f7f7cc55dba51ecd.tar.zst
freebsd-ports-graphics-04453c63b4d212437d93ed72f7f7cc55dba51ecd.zip
Respect CXX and CXXFLAGS
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/oproute/files/patch-Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/net-mgmt/oproute/files/patch-Makefile b/net-mgmt/oproute/files/patch-Makefile
index 022c8851f03..ecdbbe432bd 100644
--- a/net-mgmt/oproute/files/patch-Makefile
+++ b/net-mgmt/oproute/files/patch-Makefile
@@ -1,11 +1,17 @@
---- Makefile.orig Sat Mar 3 23:03:42 2001
-+++ Makefile Sat Mar 3 23:03:59 2001
-@@ -1,7 +1,7 @@
-
- CPPFLAGS = -O3
+--- Makefile.orig Wed Feb 28 18:28:31 2001
++++ Makefile Fri Jan 25 22:31:09 2002
+@@ -1,12 +1,11 @@
+-
+-CPPFLAGS = -O3
++CXXFLAGS ?= -O
VERSION = 0.7
--BIN = /usr/local/bin
-+BIN = %%PREFIX%%/bin
+ BIN = /usr/local/bin
all: oproute
+ oproute: oproute.cpp oproute.h main.cpp
+- g++ $(CPPFLAGS) -o oproute oproute.cpp main.cpp jivastring.cpp
++ ${CXX} $(CXXFLAGS) -o oproute oproute.cpp main.cpp jivastring.cpp
+
+ install: all
+ install -d $(BIN)