1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/net/traff/files/patch-Makefile
Marcus Alves Grando 5402fcdd5e New port
Traff is a program that attaches itself to one or more
network interfaces, sniffs all IP-packages passing at it and
accounts each packets size. The collected information can be
dumped to a mysql-Database, for further processing.
The configuration is very flexible, allowing you to create
different/multiple accounting rules.

PR:		86615
Submitted by:	Dan Caescu <dancaescu@netcaetera.ro>
Approved by:	pav (mentor)
2005-09-28 16:34:40 +00:00

21 lines
486 B
Plaintext

--- Makefile.orig Tue Sep 27 19:11:33 2005
+++ Makefile Tue Sep 27 19:12:24 2005
@@ -5,13 +5,13 @@
#LFLAGS= -lcurses
# Directories
-BINDIR = /usr/local/sbin
-ETCDIR = /etc
+BINDIR = %%PREFIX%%/sbin
+ETCDIR = %%PREFIX%%/etc
# fuer i386 auskommentieren
-CFLAGS = -g -D_REENTRANT -DwithMYSQL -DwithPGSQL
+#CFLAGS = -g -D_REENTRANT -DwithMYSQL -DwithPGSQL
-LFLAGS = -lpcap -lpthread -lpq -lmysqlclient
+LFLAGS = -lpcap $(EXTRA_LIBS)
MODULES = traff.o readconfig.o ip_table.o