Bug 206156

Summary: databases/pecl-rrd: Fix build when rrdtool option GRAPH is off
Product: Ports & Packages Reporter: Renato Botelho <garga>
Component: Individual Port(s)Assignee: Renato Botelho <garga>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: needs-qa, patch
Priority: --- Flags: garga: maintainer-feedback+
koobs: merge-quarterly?
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Build without graph none

Description Renato Botelho freebsd_committer freebsd_triage 2016-01-12 13:06:18 UTC
Created attachment 165432 [details]
Build without graph

Today pecl-rrd will fail to build if rrdtool was built without GRAPH option. This patch fixes it isolating rrd_graph() and rrd_xport() when graph is not detected

I plan to submit a similar patch upstream for 2.0.0 but unfortunately this version only builds with php 7

Sponsored by: Rubicon Communications (Netgate)
Obtained-from: pfSense
Comment 1 Florian Smeets freebsd_committer freebsd_triage 2016-01-12 17:50:00 UTC
Approved.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-01-12 18:23:04 UTC
A commit references this bug:

Author: garga
Date: Tue Jan 12 18:22:27 UTC 2016
New revision: 405901
URL: https://svnweb.freebsd.org/changeset/ports/405901

Log:
  Make databases/pecl-rrd to build when rrdtool has no GRAPH support enabled

  PR:		206156
  Approved by:	flo (maintainer)
  Obtained from:	pfSense
  Sponsored by:	Rubicon Communications (Netgate)

Changes:
  head/databases/pecl-rrd/Makefile
  head/databases/pecl-rrd/files/
  head/databases/pecl-rrd/files/patch-config.m4
  head/databases/pecl-rrd/files/patch-rrd.c