From 244e1dba16b4c91b6dcb82a52d2773f872370452 Mon Sep 17 00:00:00 2001 From: kris Date: Fri, 7 Jun 2002 07:19:01 +0000 Subject: Respect CXX and CXXFLAGS --- net/netmap/files/patch-belgolib::Makefile | 21 +++++++++++++++++++++ net/netmap/files/patch-makelist::Makefile | 20 ++++++++++++++++++++ net/netmap/files/patch-netmap::Makefile | 21 +++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 net/netmap/files/patch-belgolib::Makefile create mode 100644 net/netmap/files/patch-makelist::Makefile create mode 100644 net/netmap/files/patch-netmap::Makefile (limited to 'net') 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 -- cgit