22 lines
633 B
Text
22 lines
633 B
Text
--- Makefile.orig 2009-12-25 20:50:34.181480177 -0500
|
|
+++ Makefile 2009-12-25 20:51:40.171173802 -0500
|
|
@@ -12,7 +12,7 @@
|
|
# On FreeBSD, you may want to set GPERF=/usr/local/bin/gperf since
|
|
# the base system gperf is too old.
|
|
ifeq ($(PLATFORM), FreeBSD)
|
|
-GPERF?=/usr/local/bin/gperf
|
|
+GPERF?=${LOCALBASE}/bin/gperf
|
|
else
|
|
GPERF?=/usr/bin/gperf
|
|
endif
|
|
@@ -28,8 +28,8 @@
|
|
LDFLAGS+=-lpcre -levent -rdynamic -ltokyocabinet
|
|
|
|
# Sane includes
|
|
-CFLAGS+=-I/usr/local/include
|
|
-LDFLAGS+=-L/usr/local/lib
|
|
+CFLAGS+=-I. -I${LOCALBASE}/include
|
|
+LDFLAGS+=-L${LOCALBASE}/lib
|
|
|
|
# Uncomment to totally disable logging features
|
|
#CFLAGS+=-DNOLOGGING
|