summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-03-02 08:37:13 +0000
committerkris <kris@FreeBSD.org>2000-03-02 08:37:13 +0000
commit711ab9fe77dc016245f12226bbcfb2b8678757a4 (patch)
treee8c2a55550f461733d891dc807978d7b6b5019a1 /net
parenta055cac9876caedad86c10b157475dfa1f62c40d (diff)
downloadFreeBSD-ports-711ab9fe77dc016245f12226bbcfb2b8678757a4.zip
FreeBSD-ports-711ab9fe77dc016245f12226bbcfb2b8678757a4.tar.gz
Respect CC and CFLAGS
Diffstat (limited to 'net')
-rw-r--r--net/ppptraf/files/patch-aa26
1 files changed, 26 insertions, 0 deletions
diff --git a/net/ppptraf/files/patch-aa b/net/ppptraf/files/patch-aa
new file mode 100644
index 0000000..9680cc6
--- /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
OpenPOWER on IntegriCloud