aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/p0f
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-09-03 00:42:28 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-09-03 00:42:28 +0000
commit5be1a47e1006e163448531eda449fbade9e73f2e (patch)
tree28fa3616b928991fdca72469183f5fdc8878abee /net-mgmt/p0f
parentab731d04ec215fa558add98a099b2f4bfbe8abe1 (diff)
downloadports-5be1a47e1006e163448531eda449fbade9e73f2e.tar.gz
ports-5be1a47e1006e163448531eda449fbade9e73f2e.zip
Respect CC and CFLAGS
Notes
Notes: svn path=/head/; revision=32216
Diffstat (limited to 'net-mgmt/p0f')
-rw-r--r--net-mgmt/p0f/files/patch-Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-mgmt/p0f/files/patch-Makefile b/net-mgmt/p0f/files/patch-Makefile
new file mode 100644
index 000000000000..a5ba44cb2520
--- /dev/null
+++ b/net-mgmt/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
+