diff options
author | tobik <tobik@FreeBSD.org> | 2018-03-13 16:20:00 +0800 |
---|---|---|
committer | tobik <tobik@FreeBSD.org> | 2018-03-13 16:20:00 +0800 |
commit | 1dd6842801fce9916adb013ea4ede11a20670ed5 (patch) | |
tree | 74c0e83f096b904a3c98238b45169b7737fceb21 /net-mgmt | |
parent | 46abd3879fe84654fabdb9486108cfacc39aad36 (diff) | |
download | freebsd-ports-gnome-1dd6842801fce9916adb013ea4ede11a20670ed5.tar.gz freebsd-ports-gnome-1dd6842801fce9916adb013ea4ede11a20670ed5.tar.zst freebsd-ports-gnome-1dd6842801fce9916adb013ea4ede11a20670ed5.zip |
net-mgmt/zabbix34-server: Fix build with non-default LOCALBASE
Upstream's configure script assumes that libevent will be in
/usr/local rather than using pkg-config. This causes builds on
systems with non-default LOCALBASE settings to fail. We are able to
work around this by specifying the correct path in the argument to
--with-libevent.
PR: 224304
Submitted by: Erick Turnquist <jhujhiti@adjectivism.org>
Approved by: pg@pakhom.spb.ru (maintainer timeout, 3 months)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/zabbix34-server/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net-mgmt/zabbix34-server/Makefile b/net-mgmt/zabbix34-server/Makefile index 29ebe5244436..853207fc7a39 100644 --- a/net-mgmt/zabbix34-server/Makefile +++ b/net-mgmt/zabbix34-server/Makefile @@ -27,6 +27,7 @@ ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//} .if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings .if ${ZABBIX_BUILD} != "agent" +CONFIGURE_ARGS+= --with-libevent=${LOCALBASE} LIB_DEPENDS+= libevent.so:devel/libevent USE_RC_SUBR= zabbix_${ZABBIX_BUILD} .else |