mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 20:06:29 -04:00
- 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)
This commit is contained in:
parent
2aeec952a1
commit
fea6f436fc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428199
4 changed files with 12 additions and 24 deletions
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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");
|
Loading…
Add table
Reference in a new issue