1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/net-mgmt/sting/files/patch-aa
2000-07-01 23:28:26 +00:00

20 lines
471 B
Plaintext

--- 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)
-LIBS = -lm $(LIBPCAP)/libpcap.a
+CFLAGS += -Wall $(DEFS) $(INCLS)
+LIBS = -lm -lpcap
all: sting