aboutsummaryrefslogtreecommitdiff
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-Makefile48
1 files changed, 0 insertions, 48 deletions
diff --git a/net-mgmt/netams/files/patch-Makefile b/net-mgmt/netams/files/patch-Makefile
deleted file mode 100644
index 73ca3202e10a..000000000000
--- a/net-mgmt/netams/files/patch-Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
---- Makefile Mon May 19 20:41:16 2003
-+++ Makefile.orig Fri May 23 12:27:25 2003
-@@ -11,14 +11,14 @@
- ##########################################################################
- # for FreeBSD, uncomment this
--DEFINE = -DFREEBSD -D_THREAD_SAFE
--LIB = -pthread -lpcap
-+DEFINE += -DFREEBSD -D_THREAD_SAFE
-+LIB += -pthread -lpcap -lcrypt
- #
- # DB1 support
- # 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
-@@ -45,14 +45,14 @@
- # DEFINE += -DIPTBL_PFSET
- ##########################################################################
- # 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
-@@ -74,7 +74,7 @@
-
- CC = g++
- FLAGS += -pthread
--INCLUDE=/usr/local/include
-+INCLUDE = ${LOCALBASE}/include
- OBJ = $(SRC:.c=.o)
- CFLAGS = $(FLAGS) -I$(INCLUDE) $(DEFINE)
-