aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2015-03-11 09:45:52 +0800
committercy <cy@FreeBSD.org>2015-03-11 09:45:52 +0800
commit257cf003a14b470653026ba3b76bdea13b16405f (patch)
tree918e031b961437731066245aa20e7551c734ee22
parenta3341c86e6da93dbe3f1d9c86ec9594b747b3557 (diff)
downloadfreebsd-ports-gnome-257cf003a14b470653026ba3b76bdea13b16405f.tar.gz
freebsd-ports-gnome-257cf003a14b470653026ba3b76bdea13b16405f.tar.zst
freebsd-ports-gnome-257cf003a14b470653026ba3b76bdea13b16405f.zip
Fix build when REDIS option selected.
-rw-r--r--sysutils/syslog-ng/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile
index 915d975fca4a..b0f8bee5ffe0 100644
--- a/sysutils/syslog-ng/Makefile
+++ b/sysutils/syslog-ng/Makefile
@@ -3,7 +3,7 @@
PORTNAME= syslog-ng
PORTVERSION= 3.6.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= sysutils
DISTVERSION= $(PORTVERSION:S/a/alpha/:S/b/beta/:S/r/rc/)
DISTFILES= syslog-ng_${DISTVERSION}.tar.gz
@@ -92,7 +92,7 @@ CONFIGURE_ARGS+= --disable-geoip
.endif
.if ${PORT_OPTIONS:MREDIS}
-CONFIGURE_ARGS+= --enable-redis
+CONFIGURE_ARGS+= --enable-redis --with-libhiredis=${LOCALBASE}/lib
LIB_DEPENDS+= libhiredis.so:${PORTSDIR}/databases/hiredis
PLIST_FILES+= lib/syslog-ng/libredis.so
.else