summaryrefslogtreecommitdiff
path: root/net/netmap/files/patch-makelist__Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/netmap/files/patch-makelist__Makefile')
-rw-r--r--net/netmap/files/patch-makelist__Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/netmap/files/patch-makelist__Makefile b/net/netmap/files/patch-makelist__Makefile
new file mode 100644
index 000000000000..d6d4b6d7cb79
--- /dev/null
+++ b/net/netmap/files/patch-makelist__Makefile
@@ -0,0 +1,20 @@
+--- makelist/Makefile.orig 2010-01-06 07:59:38.000000000 +0900
++++ makelist/Makefile 2011-11-23 22:25:58.000000000 +0900
+@@ -1,8 +1,7 @@
+ CFILES = makelist.c args.c config.c
+ OFILES = $(CFILES:.c=.o)
+
+-CFLAGS = -O -Wall -Wno-deprecated
+-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