1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

databases/pecl-rrd: Remove patch that should have been removed in r219939.

Reported by:	daniel@blodan.se
This commit is contained in:
Joseph Mingrone 2017-09-07 14:48:40 +00:00
parent a2d6adbede
commit b5ccfd5510
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449402
2 changed files with 1 additions and 24 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= rrd
DISTVERSION= 2.0.1
PORTREVISION= 1
CATEGORIES= databases pear
MAINTAINER= flo@FreeBSD.org

View File

@ -1,24 +0,0 @@
--- config.m4.orig 2016-01-12 12:40:08 UTC
+++ config.m4
@@ -59,9 +59,11 @@ if test "$PHP_RRD" != "no"; then
LDFLAGS="$LDFLAGS -L$RRDTOOL_LIBDIR"
dnl rrd_graph_v is available in 1.3.0+
+ rrd_graph_c=""
PHP_CHECK_FUNC(rrd_graph_v, rrd)
- if test "$ac_cv_func_rrd_graph_v" != yes; then
- AC_MSG_ERROR([rrd lib version seems older than 1.3.0, update to 1.3.0+])
+ if test "$ac_cv_func_rrd_graph_v" == yes; then
+ AC_DEFINE(HAVE_RRD_GRAPH, 1, [ ])
+ rrd_graph_c="rrd_graph.c"
fi
dnl rrd_lastupdate_r available in 1.4.0+
@@ -72,6 +74,6 @@ if test "$PHP_RRD" != "no"; then
LDFLAGS=$old_LDFLAGS
- PHP_NEW_EXTENSION(rrd, rrd.c rrd_graph.c rrd_create.c rrd_update.c rrd_info.c, $ext_shared)
+ PHP_NEW_EXTENSION(rrd, rrd.c $rrd_graph_c rrd_create.c rrd_update.c rrd_info.c, $ext_shared)
PHP_SUBST(RRD_SHARED_LIBADD)
fi