svn commit: r481822 - in head/devel/pecl-swoole: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Thu Oct 11 13:21:29 UTC 2018
Author: vanilla
Date: Thu Oct 11 13:21:27 2018
New Revision: 481822
URL: https://svnweb.freebsd.org/changeset/ports/481822
Log:
Update to 4.2.1, and ignore php56.
Deleted:
head/devel/pecl-swoole/files/patch-php7__wrapper.h
head/devel/pecl-swoole/files/patch-swoole__serialize.c
Modified:
head/devel/pecl-swoole/Makefile
head/devel/pecl-swoole/distinfo
head/devel/pecl-swoole/files/patch-config.m4
Modified: head/devel/pecl-swoole/Makefile
==============================================================================
--- head/devel/pecl-swoole/Makefile Thu Oct 11 12:50:35 2018 (r481821)
+++ head/devel/pecl-swoole/Makefile Thu Oct 11 13:21:27 2018 (r481822)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= swoole
-PORTVERSION= 1.10.5
-PORTREVISION= 2
+PORTVERSION= 4.2.1
CATEGORIES= devel net
MAINTAINER= vanilla at FreeBSD.org
@@ -13,9 +12,12 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c11 localbase:ldflags php:pecl ssl
-USE_PHP= pcre
+USE_PHP= hash:build pcre
-OPTIONS_DEFINE= HTTP2 REDIS SOCKETS
+IGNORE_WITH_PHP= 56
+CONFIGURE_ARGS+= --enable-mysqlnd
+
+OPTIONS_DEFINE= HTTP2 REDIS SOCKETS PGSQL
HTTP2_LIB_DEPENDS= libnghttp2.so:www/libnghttp2
HTTP2_CONFIGURE_ON= --enable-http2 --enable-openssl
REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis
@@ -23,5 +25,7 @@ REDIS_CONFIGURE_ON= --enable-async-redis
SOCKETS_USE= PHP=sockets:build
SOCKETS_DESC= Use native php sockets extension
SOCKETS_CONFIGURE_ON= --enable-sockets
+PGSQL_USES= pgsql
+PGSQL_CONFIGURE_ON= --enable-coroutine-postgresql
.include <bsd.port.mk>
Modified: head/devel/pecl-swoole/distinfo
==============================================================================
--- head/devel/pecl-swoole/distinfo Thu Oct 11 12:50:35 2018 (r481821)
+++ head/devel/pecl-swoole/distinfo Thu Oct 11 13:21:27 2018 (r481822)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1526396311
-SHA256 (PECL/swoole-1.10.5.tgz) = 5c1dc0b82772ca1c352de4ddf20deeb35f06e4c5a01beba5a446d78a1f747bd2
-SIZE (PECL/swoole-1.10.5.tgz) = 730797
+TIMESTAMP = 1539261659
+SHA256 (PECL/swoole-4.2.1.tgz) = b17e919bcb738f1de4c043694e49c3e7bd65645c30d40ded942636c32831e265
+SIZE (PECL/swoole-4.2.1.tgz) = 1007982
Modified: head/devel/pecl-swoole/files/patch-config.m4
==============================================================================
--- head/devel/pecl-swoole/files/patch-config.m4 Thu Oct 11 12:50:35 2018 (r481821)
+++ head/devel/pecl-swoole/files/patch-config.m4 Thu Oct 11 13:21:27 2018 (r481822)
@@ -1,6 +1,6 @@
---- config.m4.orig 2018-05-14 10:43:31 UTC
+--- config.m4.orig 2018-09-19 03:39:15 UTC
+++ config.m4
-@@ -278,7 +278,7 @@ if test "$PHP_SWOOLE" != "no"; then
+@@ -388,7 +388,7 @@ if test "$PHP_SWOOLE" != "no"; then
AC_CHECK_LIB(c, poll, AC_DEFINE(HAVE_POLL, 1, [have poll]))
AC_CHECK_LIB(c, sendfile, AC_DEFINE(HAVE_SENDFILE, 1, [have sendfile]))
AC_CHECK_LIB(c, kqueue, AC_DEFINE(HAVE_KQUEUE, 1, [have kqueue]))
@@ -9,3 +9,12 @@
AC_CHECK_LIB(c, daemon, AC_DEFINE(HAVE_DAEMON, 1, [have daemon]))
AC_CHECK_LIB(c, mkostemp, AC_DEFINE(HAVE_MKOSTEMP, 1, [have mkostemp]))
AC_CHECK_LIB(c, inotify_init, AC_DEFINE(HAVE_INOTIFY, 1, [have inotify]))
+@@ -607,7 +607,7 @@ if test "$PHP_SWOOLE" != "no"; then
+ PHP_INSTALL_HEADERS([ext/swoole], [*.h config.h include/*.h])
+
+ PHP_REQUIRE_CXX()
+- PHP_ADD_LIBRARY(stdc++, 1, SWOOLE_SHARED_LIBADD)
++ PHP_ADD_LIBRARY(c++, 1, SWOOLE_SHARED_LIBADD)
+ CXXFLAGS="$CXXFLAGS -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11"
+
+ if test "$PHP_PICOHTTPPARSER" = "yes"; then
More information about the svn-ports-all
mailing list