diff -ruN pecl-pthreads.orig/Makefile pecl-pthreads/Makefile --- pecl-pthreads.orig/Makefile 2017-04-21 23:58:25.405544000 +0800 +++ pecl-pthreads/Makefile 2017-07-12 00:34:28.506989000 +0800 @@ -1,19 +1,27 @@ # Created by: John Chen -# $FreeBSD: head/devel/pecl-pthreads/Makefile 438175 2017-04-10 15:08:47Z mat $ +# $FreeBSD: head/devel/pecl-pthreads/Makefile 419514 2016-08-03 12:47:05Z mat $ PORTNAME= pthreads -PORTVERSION= 2.0.10 -PORTREVISION= 1 +PORTVERSION= 3.1.6 CATEGORIES= devel +MASTER_SITES= http://pecl.php.net/get/ +PKGNAMEPREFIX= pecl- +DIST_SUBDIR= PECL MAINTAINER= johnpupu@gmail.com -COMMENT= Compatible Threading API for PHP5.3+ +COMMENT= Compatible Threading API for PHP7.0+ LICENSE= PHP301 -CFLAGS+= -I${LOCALBASE}/include +CONFLICTS_INSTALL= pecl-pthreads- -USES= php:pecl +IGNORE_WITH_PHP=56 +USES= php:ext +USE_GITHUB= yes +GH_ACCOUNT= krakjoe +GH_TAGNAME= 2645c78 +CFLAGS+= -I${LOCALBASE}/include +PHP_MODNAME= ${PORTNAME:tl} .include diff -ruN pecl-pthreads.orig/distinfo pecl-pthreads/distinfo --- pecl-pthreads.orig/distinfo 2015-11-04 01:04:26.010261000 +0800 +++ pecl-pthreads/distinfo 2017-07-12 00:27:29.827587000 +0800 @@ -1,2 +1,3 @@ -SHA256 (PECL/pthreads-2.0.10.tgz) = 8bdf8d8918680421ca0ced1e62292eeb626f800a808d0a3b6812841756588cf6 -SIZE (PECL/pthreads-2.0.10.tgz) = 85247 +TIMESTAMP = 1499790449 +SHA256 (PECL/krakjoe-pthreads-3.1.6-2645c78_GH0.tar.gz) = 649f2d0cebb96f8b21e80ffa281f0b6b4b37ae0e2442d71e7da6a2d18bca28e1 +SIZE (PECL/krakjoe-pthreads-3.1.6-2645c78_GH0.tar.gz) = 90272