freebsd-ports/sysutils/grok/files/patch-Makefile
Wesley Shields 4ca162d397 - Update to 20091225.01 - This is a complete rewrite in C.
PR:		ports/140593
Submitted by:	Sahil Tandon <sahil@tandon.net>
2009-12-26 02:14:41 +00:00

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