Bug 224304 - net-mgmt/zabbix34-server fails to build when libevent is installed outside /usr/local
Summary: net-mgmt/zabbix34-server fails to build when libevent is installed outside /u...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-13 02:58 UTC by Erick Turnquist
Modified: 2018-03-13 08:20 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (pg)


Attachments
patch to set --with-libevent explicitly (551 bytes, patch)
2017-12-13 02:58 UTC, Erick Turnquist
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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