svn commit: r464348 - head/net-mgmt/zabbix34-server

Tobias Kortkamp tobik at FreeBSD.org
Tue Mar 13 08:20:01 UTC 2018


Author: tobik
Date: Tue Mar 13 08:20:00 2018
New Revision: 464348
URL: https://svnweb.freebsd.org/changeset/ports/464348

Log:
  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 at adjectivism.org>
  Approved by:	pg at pakhom.spb.ru (maintainer timeout, 3 months)

Modified:
  head/net-mgmt/zabbix34-server/Makefile

Modified: head/net-mgmt/zabbix34-server/Makefile
==============================================================================
--- head/net-mgmt/zabbix34-server/Makefile	Tue Mar 13 08:03:14 2018	(r464347)
+++ head/net-mgmt/zabbix34-server/Makefile	Tue Mar 13 08:20:00 2018	(r464348)
@@ -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


More information about the svn-ports-all mailing list