diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-09-14 16:51:56 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-09-14 16:51:56 +0000 |
commit | f0fb6b9efa0cdf1e9dfd0d654d59dba7227bba85 (patch) | |
tree | 17f5a4dd2b30f3cabed5d24728df014a7b300cd1 /net/ser/files/patch-Makefile.defs | |
parent | 4e90ca4aa54466db63baff155923a482bba9ca69 (diff) | |
download | ports-f0fb6b9efa0cdf1e9dfd0d654d59dba7227bba85.tar.gz ports-f0fb6b9efa0cdf1e9dfd0d654d59dba7227bba85.zip |
Notes
Diffstat (limited to 'net/ser/files/patch-Makefile.defs')
-rw-r--r-- | net/ser/files/patch-Makefile.defs | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/net/ser/files/patch-Makefile.defs b/net/ser/files/patch-Makefile.defs new file mode 100644 index 000000000000..32486fd5f541 --- /dev/null +++ b/net/ser/files/patch-Makefile.defs @@ -0,0 +1,82 @@ + +$FreeBSD$ + +--- Makefile.defs.orig Mon Sep 1 20:47:57 2003 ++++ Makefile.defs Wed Sep 10 19:39:20 2003 +@@ -114,10 +114,11 @@ + INSTALL-TOUCH = touch # used to create the file first (good to + # make solaris install work) + # INSTALL-CFG = $(INSTALL) -m 644 +-INSTALL-BIN = $(INSTALL) -m 755 +-INSTALL-MODULES = $(INSTALL) -m 755 +-INSTALL-DOC = $(INSTALL) -m 644 +-INSTALL-MAN = $(INSTALL) -m 644 ++INSTALL-BIN = $(BSD_INSTALL_PROGRAM) ++INSTALL-MODULES = $(BSD_INSTALL_PROGRAM) ++INSTALL-DOC = $(BSD_INSTALL_MAN) ++INSTALL-MAN = $(BSD_INSTALL_MAN) ++INSTALL-SCRIPT = $(BSD_INSTALL_SCRIPT) + + #set some vars from the environment (and not make builtins) + CC := $(shell echo "$${CC}") +@@ -265,10 +266,10 @@ + -DSHM_MEM -DSHM_MMAP \ + -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 \ + -DDNS_IP_HACK \ +- -DUSE_IPV6 \ +- -DUSE_TCP \ + -DDISABLE_NAGLE \ +- -DF_MALLOC \ ++ #-DUSE_IPV6 \ ++ #-DUSE_TCP \ ++ #-DF_MALLOC \ + # -DDBG_QM_MALLOC \ + #-DF_MALLOC \ + #-DNO_DEBUG \ +@@ -374,8 +375,8 @@ + found_lock_method=yes + endif + +-CFLAGS= +-LDFLAGS= ++#CFLAGS= ++#LDFLAGS= + # setting CFLAGS + ifeq ($(mode), release) + #if i386 +@@ -383,7 +384,7 @@ + # if gcc + ifeq ($(CC_NAME), gcc) + #common stuff +- CFLAGS=-g -O9 -funroll-loops -Wcast-align $(PROFILE) \ ++ CFLAGS+=-funroll-loops -Wcast-align $(PROFILE) \ + -Wall \ + #if gcc 3.0 + ifeq ($(CC_SHORTVER), 3.0) +@@ -409,7 +410,7 @@ + + else # CC_NAME, gcc + ifeq ($(CC_NAME), icc) +- CFLAGS=-g -O3 -ipo -ipo_obj -unroll $(PROFILE) \ ++ CFLAGS+=-ipo -ipo_obj -unroll $(PROFILE) \ + -tpp6 -xK #-openmp #optimize for PIII + # -prefetch doesn't seem to work + #( ty to inline acroos files, unroll loops,prefetch, +@@ -428,7 +429,7 @@ + #if gcc + ifeq ($(CC_NAME), gcc) + #common stuff +- CFLAGS=-g -O9 -funroll-loops $(PROFILE) \ ++ CFLAGS+=-funroll-loops $(PROFILE) \ + -Wall\ + #-Wcast-align \ + #-Wmissing-prototypes +@@ -486,7 +487,7 @@ + # if gcc + ifeq ($(CC_NAME), gcc) + #common stuff +- CFLAGS=-O9 -funroll-loops -Wcast-align $(PROFILE) \ ++ CFLAGS+=-funroll-loops -Wcast-align $(PROFILE) \ + -Wall \ + #if gcc 3.0 + ifeq ($(CC_SHORTVER), 3.0) |