diff options
Diffstat (limited to 'net/nepim/files')
-rw-r--r-- | net/nepim/files/patch-Makefile | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/net/nepim/files/patch-Makefile b/net/nepim/files/patch-Makefile index df328394d27e..aa8810d91654 100644 --- a/net/nepim/files/patch-Makefile +++ b/net/nepim/files/patch-Makefile @@ -1,8 +1,8 @@ ---- Makefile.orig Thu Oct 13 16:57:39 2005 -+++ Makefile Fri Oct 14 15:05:17 2005 -@@ -2,16 +2,14 @@ - # $Id: Makefile,v 1.20 2005/10/13 19:57:39 evertonm Exp $ - # +--- Makefile.orig 2008-10-20 02:07:49.000000000 +0800 ++++ Makefile 2008-10-20 02:14:16.000000000 +0800 +@@ -38,17 +38,17 @@ + # ENABLE_DLOPEN defined as -DHAVE_DLOPEN. + # Otherwise, tcpwrapper support is disabled. -OOP_BASE = /usr/local/oop +OOP_BASE = %%LOCALBASE%% @@ -12,11 +12,12 @@ ENABLE_DLOPEN = -DHAVE_DLOPEN -CC = gcc --CFLAGS = -Wall -g -ggdb -I$(OOP_INC) $(ENABLE_DLOPEN) \ -- -DHAVE_IPV6_MREQ --LDFLAGS = -L$(OOP_LIB) -loop -+CFLAGS += -Wall -I$(OOP_INC) -DHAVE_IPV6_MREQ $(ENABLE_DLOPEN) -+LDFLAGS += -L$(OOP_LIB) -loop - - PLATFORM=$(shell uname) ++CC ?= gcc + WARN = -Wall + REENT = -D_REENTRANT + #DEBUG = -DNEPIM_DEBUG_KEEPALIVE -DNEPIM_DEBUG_FIXME +-CFLAGS = $(WARN) $(REENT) $(DEBUG) -g -ggdb -I$(OOP_INC) $(ENABLE_DLOPEN) \ ++CFLAGS += $(WARN) $(REENT) $(DEBUG) -I$(OOP_INC) $(ENABLE_DLOPEN) \ + -DHAVE_IPV6_MREQ + LDFLAGS += -L$(OOP_LIB) -loop |