From owner-svn-ports-all@freebsd.org Tue Mar 13 08:20:01 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F679F2AE7C; Tue, 13 Mar 2018 08:20:01 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4A6E6F613; Tue, 13 Mar 2018 08:20:00 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DF92B1770C; Tue, 13 Mar 2018 08:20:00 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2D8K0gL058551; Tue, 13 Mar 2018 08:20:00 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2D8K0p9058550; Tue, 13 Mar 2018 08:20:00 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201803130820.w2D8K0p9058550@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 13 Mar 2018 08:20:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464348 - head/net-mgmt/zabbix34-server X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/net-mgmt/zabbix34-server X-SVN-Commit-Revision: 464348 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2018 08:20:01 -0000 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 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