summaryrefslogtreecommitdiffstats
path: root/net/p0f
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-09-03 00:42:28 +0000
committerkris <kris@FreeBSD.org>2000-09-03 00:42:28 +0000
commit74d9b7ad05884fa55d02045da8b9b3a6f1f6b74d (patch)
treefbae456be93f0e9ad8f7f0e920b51129d391cbdb /net/p0f
parentc0ddc6c8d2d2bf60b537066d876028b68ae53030 (diff)
downloadFreeBSD-ports-74d9b7ad05884fa55d02045da8b9b3a6f1f6b74d.zip
FreeBSD-ports-74d9b7ad05884fa55d02045da8b9b3a6f1f6b74d.tar.gz
Respect CC and CFLAGS
Diffstat (limited to 'net/p0f')
-rw-r--r--net/p0f/files/patch-Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/p0f/files/patch-Makefile b/net/p0f/files/patch-Makefile
new file mode 100644
index 0000000..a5ba44c
--- /dev/null
+++ b/net/p0f/files/patch-Makefile
@@ -0,0 +1,17 @@
+--- Makefile.orig Sat Sep 2 17:41:34 2000
++++ Makefile Sat Sep 2 17:41:48 2000
+@@ -3,11 +3,12 @@
+ # (c) <lcamtuf@tpi.pl>
+ #
+
+-CC = gcc
++CC ?= gcc
+ CLIBS = -lpcap
+ SUNLIBS = -lsocket -lnsl -D_SUN_=1
+ STRIP = strip
+-CFLAGS = -O3 -Wall
++CFLAGS ?= -O3
++CFLAGS += -Wall
+ FILE = p0f
+ VERSION = 1.7
+
OpenPOWER on IntegriCloud