aboutsummaryrefslogtreecommitdiffstats
path: root/net/sting
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-07-02 07:28:26 +0800
committerKris Kennaway <kris@FreeBSD.org>2000-07-02 07:28:26 +0800
commit55dc62917771120ab3f726076a8c8886cf37bbae (patch)
tree87924fbf417292fda69d97449b2d312a2188735a /net/sting
parent0778a5cda7d2511e2f58fe7dc2ce2e8dbe6641e2 (diff)
downloadfreebsd-ports-55dc62917771120ab3f726076a8c8886cf37bbae.tar.gz
freebsd-ports-55dc62917771120ab3f726076a8c8886cf37bbae.tar.zst
freebsd-ports-55dc62917771120ab3f726076a8c8886cf37bbae.zip
Respect CC and CFLAGS
Notes
Notes: svn path=/head/; revision=30052
Diffstat (limited to 'net/sting')
-rw-r--r--net/sting/files/patch-aa16
1 files changed, 12 insertions, 4 deletions
diff --git a/net/sting/files/patch-aa b/net/sting/files/patch-aa
index 87417fd343fa..97e617a7d8cd 100644
--- a/net/sting/files/patch-aa
+++ b/net/sting/files/patch-aa
@@ -1,10 +1,18 @@
---- Makefile Fri Nov 5 06:00:22 1999
-+++ Makefile.new Wed May 10 11:11:23 2000
-@@ -42,7 +42,7 @@
+--- Makefile.orig Thu Nov 4 11:00:22 1999
++++ Makefile Sat Jul 1 16:27:33 2000
+@@ -37,12 +37,13 @@
+ HDR = inet.h capture.h gmt2local.h distribtion.h
+
+ LIBPCAP = ./libpcap-0.4
+-CC = gcc
++CC ?= gcc
++CFLAGS ?= -O -pipe
+ OBJS = version.o $(SRC:.c=.o)
INCLS = -I. -I$(LIBPCAP)
DEFS = -DRETSIGTYPE=void -DHAVE_SIGACTION=1
- CFLAGS = -Wall $(CCOPT) $(DEFS) $(INCLS)
+-CFLAGS = -Wall $(CCOPT) $(DEFS) $(INCLS)
-LIBS = -lm $(LIBPCAP)/libpcap.a
++CFLAGS += -Wall $(DEFS) $(INCLS)
+LIBS = -lm -lpcap
all: sting