diff options
-rw-r--r-- | databases/pecl-rrd/Makefile | 1 | ||||
-rw-r--r-- | databases/pecl-rrd/files/patch-config.m4 | 24 |
2 files changed, 1 insertions, 24 deletions
diff --git a/databases/pecl-rrd/Makefile b/databases/pecl-rrd/Makefile index 10a0e7bc86ce..d20de02cf563 100644 --- a/databases/pecl-rrd/Makefile +++ b/databases/pecl-rrd/Makefile @@ -2,6 +2,7 @@ PORTNAME= rrd DISTVERSION= 2.0.1 +PORTREVISION= 1 CATEGORIES= databases pear MAINTAINER= flo@FreeBSD.org diff --git a/databases/pecl-rrd/files/patch-config.m4 b/databases/pecl-rrd/files/patch-config.m4 deleted file mode 100644 index 919d9a8b87b1..000000000000 --- a/databases/pecl-rrd/files/patch-config.m4 +++ /dev/null @@ -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 |