summaryrefslogtreecommitdiff
path: root/net/ser/files/patch-Makefile.defs
diff options
context:
space:
mode:
Diffstat (limited to 'net/ser/files/patch-Makefile.defs')
-rw-r--r--net/ser/files/patch-Makefile.defs32
1 files changed, 21 insertions, 11 deletions
diff --git a/net/ser/files/patch-Makefile.defs b/net/ser/files/patch-Makefile.defs
index 6c95c3b07ebd..dc601deca9eb 100644
--- a/net/ser/files/patch-Makefile.defs
+++ b/net/ser/files/patch-Makefile.defs
@@ -1,9 +1,9 @@
$FreeBSD$
---- Makefile.defs.orig Thu Nov 20 12:57:22 2003
-+++ Makefile.defs Wed Feb 4 14:27:53 2004
-@@ -123,10 +123,11 @@
+--- Makefile.defs.orig
++++ Makefile.defs
+@@ -133,10 +133,11 @@
INSTALL-TOUCH = touch # used to create the file first (good to
# make solaris install work)
# INSTALL-CFG = $(INSTALL) -m 644
@@ -19,7 +19,7 @@ $FreeBSD$
#set some vars from the environment (and not make builtins)
CC := $(shell echo "$${CC}")
-@@ -275,10 +276,10 @@
+@@ -285,10 +286,11 @@
-DPKG_MALLOC \
-DSHM_MEM -DSHM_MMAP \
-DDNS_IP_HACK \
@@ -27,13 +27,14 @@ $FreeBSD$
- -DUSE_TCP \
-DDISABLE_NAGLE \
- -DF_MALLOC \
-+ # -DUSE_IPV6 \
-+ # -DUSE_TCP \
++ -DNO_DEBUG \
++ -DUSE_IPV6 \
++ -DUSE_TCP
+ # -DF_MALLOC \
# -DDBG_QM_MALLOC \
# -DDBG_QM_MALLOC \
# -DF_MALLOC \
-@@ -398,8 +399,8 @@
+@@ -408,8 +410,8 @@
found_lock_method=yes
endif
@@ -44,7 +45,7 @@ $FreeBSD$
# setting CFLAGS
ifeq ($(mode), release)
#if i386
-@@ -407,7 +408,7 @@
+@@ -417,7 +419,7 @@
# if gcc
ifeq ($(CC_NAME), gcc)
#common stuff
@@ -53,7 +54,7 @@ $FreeBSD$
-Wall \
#if gcc 3.0
ifeq ($(CC_SHORTVER), 3.0)
-@@ -433,7 +434,7 @@
+@@ -443,7 +445,7 @@
else # CC_NAME, gcc
ifeq ($(CC_NAME), icc)
@@ -62,7 +63,7 @@ $FreeBSD$
-tpp6 -xK #-openmp #optimize for PIII
# -prefetch doesn't seem to work
#( ty to inline acroos files, unroll loops,prefetch,
-@@ -452,7 +453,7 @@
+@@ -462,7 +464,7 @@
#if gcc
ifeq ($(CC_NAME), gcc)
#common stuff
@@ -71,7 +72,7 @@ $FreeBSD$
-Wall\
#-Wcast-align \
#-Wmissing-prototypes
-@@ -510,7 +511,7 @@
+@@ -520,7 +522,7 @@
# if gcc
ifeq ($(CC_NAME), gcc)
#common stuff
@@ -80,3 +81,12 @@ $FreeBSD$
-Wall \
#if gcc 3.0
ifeq ($(CC_SHORTVER), 3.0)
+@@ -707,7 +709,7 @@
+ found_lock_method=yes
+ LIBS= -pthread -lfl #dlopen is in libc
+ else
+- LIBS= -lfl #dlopen is in libc
++ LIBS= -lfl -L$(LOCALBASE)/lib -lsiplog #dlopen is in libc
+ endif
+ YACC=yacc
+ endif