Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2018 08:20:00 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464348 - head/net-mgmt/zabbix34-server
Message-ID:  <201803130820.w2D8K0p9058550@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@adjectivism.org>
  Approved by:	pg@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803130820.w2D8K0p9058550>