aboutsummaryrefslogtreecommitdiffstats
path: root/net/tdetect
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-10-23 08:01:04 +0800
committerkris <kris@FreeBSD.org>2003-10-23 08:01:04 +0800
commit47c45847ec49bb71a4cb984d65a7afb6bb8f75ee (patch)
tree93481e0fdaf90fec40d0da8c27d85cf83c7056e8 /net/tdetect
parente05325eb70c801164f035d122c235e6ce8e60686 (diff)
downloadfreebsd-ports-gnome-47c45847ec49bb71a4cb984d65a7afb6bb8f75ee.tar.gz
freebsd-ports-gnome-47c45847ec49bb71a4cb984d65a7afb6bb8f75ee.tar.zst
freebsd-ports-gnome-47c45847ec49bb71a4cb984d65a7afb6bb8f75ee.zip
Respect CC and CFLAGS
Diffstat (limited to 'net/tdetect')
-rw-r--r--net/tdetect/files/patch-Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/tdetect/files/patch-Makefile b/net/tdetect/files/patch-Makefile
new file mode 100644
index 000000000000..ce7a5c22899d
--- /dev/null
+++ b/net/tdetect/files/patch-Makefile
@@ -0,0 +1,16 @@
+--- Makefile.orig Wed Oct 22 16:58:23 2003
++++ Makefile Wed Oct 22 16:58:37 2003
+@@ -1,11 +1,11 @@
+ # Makefile
+
+-CC=gcc
++CC?=cc
+ #DEBUG=-g -DDEBUG
+
+ # Add -DLINUX if you compile on Linux
+ # Thanks to Gary Miller <gem@rellim.com>
+-CFLAGS=-O2 -Wall
++CFLAGS?=-O -pipe
+ OBJS=main.o null.o ether.o ip.o
+ LIBS= -lpcap
+ SRC=$(OBJS:%.o=%.c)