Bug 224304

Summary: net-mgmt/zabbix34-server fails to build when libevent is installed outside /usr/local
Product: Ports & Packages Reporter: Erick Turnquist <jhujhiti>
Component: Individual Port(s)Assignee: Tobias Kortkamp <tobik>
Status: Closed FIXED    
Severity: Affects Only Me CC: pg, tobik
Priority: --- Flags: bugzilla: maintainer-feedback? (pg)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to set --with-libevent explicitly none

Description Erick Turnquist 2017-12-13 02:58:10 UTC
Created attachment 188783 [details]
patch to set --with-libevent explicitly

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. The attached patch does this.
Comment 1 Tobias Kortkamp freebsd_committer freebsd_triage 2018-03-13 08:20:14 UTC
Committed. Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-03-13 08:20:18 UTC
A commit references this bug:

Author: tobik
Date: Tue Mar 13 08:20:00 UTC 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)

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