summaryrefslogtreecommitdiff
path: root/net/netmap/files/patch-netmap::Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-06-07 07:19:01 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-06-07 07:19:01 +0000
commit3043bebe98d12087e599daa25a6c26d0bfea1817 (patch)
treee679670fab40dc0ddb0e5613efdd13de589cafeb /net/netmap/files/patch-netmap::Makefile
parentFix a potentially exploitable format string vulnerability and bump (diff)
Respect CXX and CXXFLAGS
Diffstat (limited to '')
-rw-r--r--net/netmap/files/patch-netmap::Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/netmap/files/patch-netmap::Makefile b/net/netmap/files/patch-netmap::Makefile
new file mode 100644
index 000000000000..5b15ca1dfa62
--- /dev/null
+++ b/net/netmap/files/patch-netmap::Makefile
@@ -0,0 +1,21 @@
+--- netmap/Makefile.orig Fri Jun 7 00:12:40 2002
++++ netmap/Makefile Fri Jun 7 00:12:56 2002
+@@ -1,8 +1,7 @@
+ CFILES = misc.c hostclass.c netmap.c drawmap.c config.c args.c lookup.c
+ OFILES = $(CFILES:.c=.o)
+
+-CFLAGS = -O -Wall
+-CC = g++
++CC = ${CXX}
+
+ CPPFLAGS = -I../belgolib
+
+@@ -34,7 +33,7 @@
+ -/bin/rm -f $(OFILES) $(OEXE)
+
+ depend:
+- makedepend $(CPP_HEADERS) -D__make_dep__ -- $(CFLAGS) -- $(CFILES)
++ makedepend $(CPP_HEADERS) -D__make_dep__ -- $(CXXFLAGS) -- $(CFILES)
+
+
+ # DO NOT DELETE