ports/net/tdetect/files/patch-Makefile
Pawel Pekala 5745335656 - Add MASTER_SITES
- Use ECHO_MSG, SUB_FILES
- Switch to PLIST_FILES

PR:             ports/172043
Submitted by:   KATO Tsuguru <tkato432@yahoo.com>
Feature safe:   yes
2012-11-10 14:52:33 +00:00

25 lines
536 B
Text

--- Makefile.orig 1998-08-13 17:17:57.000000000 +0900
+++ Makefile 2012-09-08 03:33:04.000000000 +0900
@@ -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)
@@ -13,7 +13,7 @@
all: tdetect
tdetect: $(OBJS)
- $(CC) $(OBJS) $(LIBS) $(DEBUG) -s -o tdetect
+ $(CC) $(OBJS) $(LIBS) $(DEBUG) -o tdetect
clean:
rm -f *.o tdetect *.b