Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2016 17:58:07 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428579 - head/databases/pecl-memcached
Message-ID:  <201612141758.uBEHw78E037019@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Dec 14 17:58:07 2016
New Revision: 428579
URL: https://svnweb.freebsd.org/changeset/ports/428579

Log:
  - Use upstream PHP7 development in GitHub and unbreak this port for php70
  - Bump PORTREVISION

Modified:
  head/databases/pecl-memcached/Makefile
  head/databases/pecl-memcached/distinfo

Modified: head/databases/pecl-memcached/Makefile
==============================================================================
--- head/databases/pecl-memcached/Makefile	Wed Dec 14 17:49:34 2016	(r428578)
+++ head/databases/pecl-memcached/Makefile	Wed Dec 14 17:58:07 2016	(r428579)
@@ -3,11 +3,9 @@
 
 PORTNAME=	memcached
 PORTVERSION=	2.2.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	databases
-MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
-DIST_SUBDIR=	PECL
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	PHP extension for interfacing with memcached via libmemcached library
@@ -21,13 +19,22 @@ OPTIONS_DEFINE=	IGBINARY SASL
 IGBINARY_DESC=	Binary serializer support
 
 CONFIGURE_ARGS=	--with-libmemcached-dir=${LOCALBASE}
-IGNORE_WITH_PHP=70
 USE_PHP=	json:build session:build
-USES=		php:ext pkgconfig tar:tgz
+USES=		php:ext pkgconfig
+
+GH_TUPLE=	php-${PORTNAME}-dev:php-${PORTNAME}:${PORTVERSION} \
+		php-${PORTNAME}-dev:php-${PORTNAME}:e65be32:php7
+USE_GITHUB=	yes
 
 IGBINARY_CONFIGURE_ENABLE=	memcached-igbinary
 IGBINARY_USE=		PHP=igbinary:build
 SASL_CONFIGURE_ENABLE=	memcached-sasl
 SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PHP_VER} == 70
+WRKSRC_SUBDIR=	../php-memcached-e65be32
+.endif
+
+.include <bsd.port.post.mk>

Modified: head/databases/pecl-memcached/distinfo
==============================================================================
--- head/databases/pecl-memcached/distinfo	Wed Dec 14 17:49:34 2016	(r428578)
+++ head/databases/pecl-memcached/distinfo	Wed Dec 14 17:58:07 2016	(r428579)
@@ -1,2 +1,5 @@
-SHA256 (PECL/memcached-2.2.0.tgz) = 17b9600f6d4c807f23a3f5c45fcd8775ca2e61d6eda70370af2bef4c6e159f58
-SIZE (PECL/memcached-2.2.0.tgz) = 70449
+TIMESTAMP = 1481736896
+SHA256 (php-memcached-dev-php-memcached-2.2.0_GH0.tar.gz) = 7248ac9eefedd8ed6babb68da66d58c2a769e9d12380ab9409246cdd7478c00d
+SIZE (php-memcached-dev-php-memcached-2.2.0_GH0.tar.gz) = 79278
+SHA256 (php-memcached-dev-php-memcached-e65be32_GH0.tar.gz) = 36855bf3dd2ccd57cff9d5351c66b4c92985e54b8003c8343a1cd05bf0d6960a
+SIZE (php-memcached-dev-php-memcached-e65be32_GH0.tar.gz) = 82057



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612141758.uBEHw78E037019>