From b4da18b111529a27fc0bea0ee0e59030a1b69372 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Thu, 2 Mar 2000 08:37:13 +0000 Subject: [PATCH] Respect CC and CFLAGS --- net/ppptraf/files/patch-aa | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 net/ppptraf/files/patch-aa diff --git a/net/ppptraf/files/patch-aa b/net/ppptraf/files/patch-aa new file mode 100644 index 000000000000..9680cc6877e8 --- /dev/null +++ b/net/ppptraf/files/patch-aa @@ -0,0 +1,26 @@ +--- Makefile.orig Wed Feb 9 07:18:28 2000 ++++ Makefile Thu Mar 2 00:35:42 2000 +@@ -2,11 +2,12 @@ + ## Customizable Shit ####################################### + ############################################################ + +-CC = gcc ++CC ?= gcc + OUTNAME = ppptraf + + #XCFLAGS = -DDEBUG +-XCFLAGS = -O3 -pedantic -fomit-frame-pointer ++CFLAGS ?= -O3 -fomit-frame-pointer ++CFLAGS += -pedantic + #XCFLAGS = -g + #XLIBS = -ldl ? -lpthread ? + +@@ -21,7 +22,7 @@ + #LIBS = -lpthread -lncurses + + # FreeBSD +-CFLAGS = ++#CFLAGS = + LIBS = -pthread -lncurses + + # Solaris