summaryrefslogtreecommitdiff
path: root/net-mgmt/netams/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/netams/files/patch-Makefile')
-rw-r--r--net-mgmt/netams/files/patch-Makefile54
1 files changed, 0 insertions, 54 deletions
diff --git a/net-mgmt/netams/files/patch-Makefile b/net-mgmt/netams/files/patch-Makefile
deleted file mode 100644
index 2e55703a667e..000000000000
--- a/net-mgmt/netams/files/patch-Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
---- Makefile.orig Thu May 6 14:37:08 2004
-+++ Makefile Tue Aug 17 11:35:46 2004
-@@ -10,11 +10,11 @@
- # $Id: Makefile,v 1.25.2.7 2004/05/06 10:37:08 jura Exp $
- ##########################################################################
- # for FreeBSD, uncomment this
--DEFINE = -DFREEBSD -D_THREAD_SAFE
-+DEFINE += -DFREEBSD
--LIB = -lpcap -lcrypt -lz
-+LIB += -lpcap -lcrypt -lz
- #
- # For FreeBSD-4.x uncomment this
--LIB += -pthread
-+# LIB += -pthread
- # For FreeBSD-5.x uncomment this
- # LIB += -lc_r
- #
-@@ -22,8 +22,8 @@
- # DEFINE+= -DUSE_HASH
- #
- # MySQL storage support
--DEFINE += -DUSE_MYSQL
--LIB += -lmysqlclient -L/usr/local/lib/mysql
-+# DEFINE += -DUSE_MYSQL
-+# LIB += -lmysqlclient -L/usr/local/lib/mysql
- #
- # PostgreSQL storage support
- # DEFINE += -DUSE_POSTGRES
-@@ -53,14 +53,14 @@
- # DEFINE += -DIPTBL_NONE
- ##########################################################################
- # Define here a PATH variables
--PATH_TO_CONFIG="/usr/local/etc/netams.cfg"
-+PATH_TO_CONFIG="${PREFIX}/etc/netams.conf"
- PATH_TO_LOG="/var/log/netams.log"
- #
- # Uncomment this if you want to log dropped packets
- # DEFINE += -DLOG_DROP
- # Uncomment this if you want to enable debug features
--DEFINE += -DDEBUG
--FLAGS += -g -Wall
-+# DEFINE += -DDEBUG
-+# FLAGS += -g -Wall
- # Uncomment this if you want to enable profiler support
- # LIB += -lm -pg
- # FLAGS += -pg
-@@ -81,7 +81,7 @@
- flowmodule.h versions.sh versions_build.dat
-
- CC = g++
--INCLUDE=/usr/local/include
-+INCLUDE = ${LOCALBASE}/include
- OBJ = $(SRC:.c=.o)
- CFLAGS = $(FLAGS) -I$(INCLUDE) $(DEFINE)