summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2017-10-04 09:42:10 -0300
committerRenato Botelho <garga@FreeBSD.org>2017-10-04 10:12:52 -0300
commit1305c67aceff0b6d5d356500c86cf8c02e65a3b6 (patch)
treeb341bafefb1eebf65f050645a4eb376e580c98b5
parenta8b8121f671350901d5fecf2d3ce79651aa9237d (diff)
downloadFreeBSD-ports-1305c67aceff0b6d5d356500c86cf8c02e65a3b6.zip
FreeBSD-ports-1305c67aceff0b6d5d356500c86cf8c02e65a3b6.tar.gz
Do not look for graph functions since our rrdtools is built without this option
-rw-r--r--databases/pecl-rrd1/files/patch-config.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/pecl-rrd1/files/patch-config.m4 b/databases/pecl-rrd1/files/patch-config.m4
new file mode 100644
index 0000000..fa1042b
--- /dev/null
+++ b/databases/pecl-rrd1/files/patch-config.m4
@@ -0,0 +1,15 @@
+--- config.m4.orig 2017-10-04 12:41:14 UTC
++++ config.m4
+@@ -58,12 +58,6 @@ if test "$PHP_RRD" != "no"; then
+ old_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -L$RRDTOOL_LIBDIR"
+
+- dnl rrd_graph_v is available in 1.3.0+
+- 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+])
+- fi
+-
+ dnl rrd_lastupdate_r available in 1.4.0+
+ PHP_CHECK_FUNC(rrd_lastupdate_r, rrd)
+
OpenPOWER on IntegriCloud