aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-12-09 20:57:37 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-12-09 20:57:37 +0800
commit3bf17a698caaec68d37189de849d70b9c31b95e7 (patch)
tree9f780a59f843901919e99bfebda15a62831e4cbd
parent08bca24cb05979cf2a6e123429f8d7b8f86b01a0 (diff)
downloadfreebsd-ports-gnome-3bf17a698caaec68d37189de849d70b9c31b95e7.tar.gz
freebsd-ports-gnome-3bf17a698caaec68d37189de849d70b9c31b95e7.tar.zst
freebsd-ports-gnome-3bf17a698caaec68d37189de849d70b9c31b95e7.zip
- Update to 1.1.1
- While I'm here, move BROKEN_powerpc64 downwards and use lowercase for leading character Changes: https://pecl.php.net/package-changelog.php?package=jsonnet PR: 215163 Submitted by: Gasol Wu <gasol.wu@gmail.com> (maintainer)
-rw-r--r--devel/pecl-jsonnet/Makefile7
-rw-r--r--devel/pecl-jsonnet/distinfo5
-rw-r--r--devel/pecl-jsonnet/files/patch-config.m413
-rw-r--r--devel/pecl-jsonnet/files/patch-jsonnet.c11
4 files changed, 12 insertions, 24 deletions
diff --git a/devel/pecl-jsonnet/Makefile b/devel/pecl-jsonnet/Makefile
index 0b576a9573ab..116517a53d39 100644
--- a/devel/pecl-jsonnet/Makefile
+++ b/devel/pecl-jsonnet/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= jsonnet
-PORTVERSION= 1.0.0
-PORTREVISION= 1
+PORTVERSION= 1.1.1
CATEGORIES= devel
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@@ -16,10 +15,10 @@ COMMENT= Google JsonNet for PHP
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_powerpc64= Does not build
-
LIB_DEPENDS= libjsonnet.so:devel/jsonnet
+BROKEN_powerpc64= does not build
+
USES= php:ext tar:tgz
USE_PHP= json:build
CONFIGURE_ARGS= --with-jsonnet=${LOCALBASE}
diff --git a/devel/pecl-jsonnet/distinfo b/devel/pecl-jsonnet/distinfo
index 1d21328bc4e6..cd16807ac64e 100644
--- a/devel/pecl-jsonnet/distinfo
+++ b/devel/pecl-jsonnet/distinfo
@@ -1,2 +1,3 @@
-SHA256 (PECL/JsonNet-1.0.0.tgz) = 40b3c193d53f23feae84c5b3c7b4ffc9c9ea4be116877d01612418f7d78ebcb7
-SIZE (PECL/JsonNet-1.0.0.tgz) = 66922
+TIMESTAMP = 1481094183
+SHA256 (PECL/JsonNet-1.1.1.tgz) = 265c8a84cfe70d5346077e0c1c5e5a0870694c497489c755c4a54ca3413c8cd3
+SIZE (PECL/JsonNet-1.1.1.tgz) = 105906
diff --git a/devel/pecl-jsonnet/files/patch-config.m4 b/devel/pecl-jsonnet/files/patch-config.m4
index c8feab52ea70..d83fd1d376d4 100644
--- a/devel/pecl-jsonnet/files/patch-config.m4
+++ b/devel/pecl-jsonnet/files/patch-config.m4
@@ -1,21 +1,20 @@
---- config.m4.orig 2015-06-05 23:06:29 UTC
+--- config.m4.orig 2016-08-07 07:36:22 UTC
+++ config.m4
-@@ -53,13 +53,9 @@ AC_DEFUN([AC_JSONNET_EPOLL],
+@@ -53,12 +53,9 @@ AC_DEFUN([AC_JSONNET_EPOLL],
])
if test "$PHP_JSONNET" != "no"; then
-- cd libjsonnet
-- make libjsonnet.so
-- cd ../
+- THIS_DIR=`dirname $0`
+- MAKE_LIB_JSONNET=`cd ${THIS_DIR}/libjsonnet && make libjsonnet.so`
-
# --with-jsonnet -> check with-path
- SEARCH_PATH="/usr/lib/jsonnet"
+ SEARCH_PATH="/usr/local/lib"
- SEARCH_FOR="libjsonnet.h"
+ SEARCH_FOR="include/libjsonnet.h"
if test -r $PHP_JSONNET/$SEARCH_FOR; then # path given as parameter
JSONNET_DIR=$PHP_JSONNET
else # search default path list
-@@ -78,13 +74,12 @@ if test "$PHP_JSONNET" != "no"; then
+@@ -77,13 +74,12 @@ if test "$PHP_JSONNET" != "no"; then
fi
# --with-jsonnet -> add include path
diff --git a/devel/pecl-jsonnet/files/patch-jsonnet.c b/devel/pecl-jsonnet/files/patch-jsonnet.c
deleted file mode 100644
index 809782376ee9..000000000000
--- a/devel/pecl-jsonnet/files/patch-jsonnet.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- jsonnet.c.orig 2015-06-05 23:08:06 UTC
-+++ jsonnet.c
-@@ -128,7 +128,7 @@ PHP_MINFO_FUNCTION(jsonnet)
- {
- php_info_print_table_start();
- php_info_print_table_header(2, "JsonNet support", "Enabled");
-- php_info_print_table_row(2, "jsonnet Information", JSONNET_VERSION);
-+ php_info_print_table_row(2, "jsonnet Information", jsonnet_version());
- php_info_print_table_row(2, "Version", JSONNET_PHP_VERSION);
- php_info_print_table_row(2, "Author", JSONNET_PHP_AUTHOR);
- php_info_print_table_row(2,"Supports", "https://github.com/Neeke/JsonNet");