aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/syslog-ng/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile
index 93a7f49e5324..c05c4b26cb8e 100644
--- a/sysutils/syslog-ng/Makefile
+++ b/sysutils/syslog-ng/Makefile
@@ -98,7 +98,7 @@ CONFIGURE_ARGS+= --disable-pcre
.if ${PORT_OPTIONS:MGEOIP}
CONFIGURE_ARGS+= --enable-geoip
LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP
-CONFIGURE_ENV+= GEOIP_LIBS="-lGeoIP"
+CONFIGURE_ENV+= GEOIP_LIBS="-L${LOCALBASE}/lib -lGeoIP"
PLIST_FILES+= lib/syslog-ng/libtfgeoip.so
.else
CONFIGURE_ARGS+= --disable-geoip