summaryrefslogtreecommitdiff
path: root/net/netmap
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
parentFix a potentially exploitable format string vulnerability and bump (diff)
Respect CXX and CXXFLAGS
Notes
Notes: svn path=/head/; revision=60751
Diffstat (limited to 'net/netmap')
-rw-r--r--net/netmap/files/patch-belgolib::Makefile21
-rw-r--r--net/netmap/files/patch-makelist::Makefile20
-rw-r--r--net/netmap/files/patch-netmap::Makefile21
3 files changed, 62 insertions, 0 deletions
diff --git a/net/netmap/files/patch-belgolib::Makefile b/net/netmap/files/patch-belgolib::Makefile
new file mode 100644
index 000000000000..8c6e0ebafd5d
--- /dev/null
+++ b/net/netmap/files/patch-belgolib::Makefile
@@ -0,0 +1,21 @@
+--- belgolib/Makefile.orig Fri Jun 7 00:11:38 2002
++++ belgolib/Makefile Fri Jun 7 00:12:18 2002
+@@ -1,8 +1,7 @@
+ CFILES = files.c dirs.c dirs_core.c search.c
+ OFILES = $(CFILES:.c=.o)
+
+-CFLAGS = -O -Wall
+-CC = g++
++CC = ${CXX}
+
+ CPP_HEADERS = /usr/include/g++-3/
+
+@@ -17,7 +16,7 @@
+ -/bin/rm -f $(OFILES)
+
+ depend:
+- makedepend -I$(CPP_HEADERS) -D__make_dep__ -- $(CFLAGS) -- $(CFILES)
++ makedepend -I$(CPP_HEADERS) -D__make_dep__ -- $(CXXFLAGS) -- $(CFILES)
+
+
+
diff --git a/net/netmap/files/patch-makelist::Makefile b/net/netmap/files/patch-makelist::Makefile
new file mode 100644
index 000000000000..7d89da1b7c85
--- /dev/null
+++ b/net/netmap/files/patch-makelist::Makefile
@@ -0,0 +1,20 @@
+--- makelist/Makefile.orig Fri Jun 7 00:13:32 2002
++++ makelist/Makefile Fri Jun 7 00:13:40 2002
+@@ -1,8 +1,7 @@
+ CFILES = makelist.c args.c config.c
+ OFILES = $(CFILES:.c=.o)
+
+-CFLAGS = -O -Wall
+-CC = g++
++CC = ${CXX}
+
+ CPPFLAGS = -I../belgolib
+ LDFLAGS = ../belgolib/belgolib.a
+@@ -21,6 +20,6 @@
+ -/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
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