aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-06-07 15:19:01 +0800
committerkris <kris@FreeBSD.org>2002-06-07 15:19:01 +0800
commit244e1dba16b4c91b6dcb82a52d2773f872370452 (patch)
tree6cb09e58c403663c76380b358c563479f1f758ef /net
parent17cac00384a89cc12309776cf6ac0ffc0f2a8642 (diff)
downloadfreebsd-ports-gnome-244e1dba16b4c91b6dcb82a52d2773f872370452.tar.gz
freebsd-ports-gnome-244e1dba16b4c91b6dcb82a52d2773f872370452.tar.zst
freebsd-ports-gnome-244e1dba16b4c91b6dcb82a52d2773f872370452.zip
Respect CXX and CXXFLAGS
Diffstat (limited to 'net')
-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