opnsense-ports/sysutils/grok/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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