summaryrefslogtreecommitdiff
path: root/net/flow-extract/files/patch-Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-08-28 11:15:22 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-08-28 11:15:22 +0000
commite972bdbe8784db29a8d725136fe30b563b2b40de (patch)
tree77617b8ce520489ce5dcc43e0e4b446d1935ceb3 /net/flow-extract/files/patch-Makefile
parentUpdate to 0.93.2: bug-fix release w/o features [1] (diff)
net/flow-extract: new port
This tool complements existing net/flow-tools port. PR: ports/50005 Submitted by: Marcin Cieslak <saper@system.pl>
Diffstat (limited to 'net/flow-extract/files/patch-Makefile')
-rw-r--r--net/flow-extract/files/patch-Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/net/flow-extract/files/patch-Makefile b/net/flow-extract/files/patch-Makefile
new file mode 100644
index 000000000000..66d25454ca67
--- /dev/null
+++ b/net/flow-extract/files/patch-Makefile
@@ -0,0 +1,25 @@
+--- Makefile.original Fri Mar 14 13:20:42 2003
++++ Makefile Fri Mar 14 13:21:33 2003
+@@ -10,10 +10,9 @@
+ #
+ # For SunOS 5, use LIBS=-lsocket -lnsl
+ #
+-CC=gcc
+-FLAGS=-ggdb3 -gstabs
+-LIBS=-L/opt/lib -R/opt/lib /opt/lib/libft.a -lsocket -lnsl -lz
+-INCLUDES=-I/opt/include
++CC ?= cc
++LIBS = -L%%PREFIX%%/lib -lft -lz
++INCLUDES = -I%%PREFIX%%/include
+ #
+ # For Linux
+ #
+@@ -30,7 +29,7 @@
+
+ #CC = cc
+ LIB=$(LIBS)
+-CFLAGS=-O $(FLAGS) $(INCLUDES)
++CFLAGS+=$(INCLUDES)
+
+ all: flow-extract
+