openbsd-ports/net/nepim/patches/patch-Makefile
jasper 8a6db38b2b update to 0.39
drop maintainership
2007-03-30 16:41:43 +00:00

25 lines
731 B
Plaintext

$OpenBSD: patch-Makefile,v 1.3 2007/03/30 16:41:43 jasper Exp $
--- src/Makefile.orig Fri Mar 30 18:39:34 2007
+++ src/Makefile Fri Mar 30 18:40:03 2007
@@ -28,18 +28,15 @@
# ENABLE_DLOPEN defined as -DHAVE_DLOPEN.
# Otherwise, tcpwrapper support is disabled.
-OOP_BASE = /usr/local/oop
+OOP_BASE = !!PREFIX!!
OOP_INC = $(OOP_BASE)/include
OOP_LIB = $(OOP_BASE)/lib
ENABLE_DLOPEN = -DHAVE_DLOPEN
-CC = gcc
-WARN = -Wall
REENT = -D_REENTRANT
#DEBUG = -DNEPIM_DEBUG_KEEPALIVE
-CFLAGS = $(WARN) $(REENT) $(DEBUG) -g -ggdb -I$(OOP_INC) $(ENABLE_DLOPEN) \
- -DHAVE_IPV6_MREQ
+CFLAGS += -Wall $(REENT) -I$(OOP_INC) -DHAVE_IPV6_MREQ $(ENABLE_DLOPEN)
LDFLAGS += -L$(OOP_LIB) -loop
PLATFORM=$(shell uname)