Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2017 10:52:15 +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: r437409 - head/devel/phabricator
Message-ID:  <201704011052.v31AqFsG096074@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Apr  1 10:52:15 2017
New Revision: 437409
URL: https://svnweb.freebsd.org/changeset/ports/437409

Log:
  Add PHP 7.x support
  
  - Use mysqli instead of mysqli
  - Update pecl-APCu dependency
  - Remove unnecessary PHP_EXT_DIR check
  - Sort USE_PHP
  - Bump PORTREVISION for dependency change
  
  Differential Revision:	https://reviews.freebsd.org/D8647
  Approved by:	grembo (maintainer)

Modified:
  head/devel/phabricator/Makefile

Modified: head/devel/phabricator/Makefile
==============================================================================
--- head/devel/phabricator/Makefile	Sat Apr  1 10:45:26 2017	(r437408)
+++ head/devel/phabricator/Makefile	Sat Apr  1 10:52:15 2017	(r437409)
@@ -2,6 +2,7 @@
 
 PORTNAME=	phabricator
 PORTVERSION=	20161003
+PORTREVISION=	1
 CATEGORIES=	devel
 PKGNAMEPREFIX=	php5-
 
@@ -24,18 +25,19 @@ SHEBANG_FILES=	externals/httpful/build \
 		externals/restful/build-phar \
 		scripts/install/install_rhel-derivs.sh \
 		scripts/install/install_ubuntu.sh
-USE_PHP=	ctype curl fileinfo hash iconv filter mbstring mysql openssl \
+USE_PHP=	ctype curl fileinfo filter hash iconv mbstring mysqli openssl \
 		pcntl posix
-IGNORE_WITH_PHP=	70
 
 GD_USE=		PHP=gd
 
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MOPCACHE}
-.	if ${PHP_EXT_DIR:C|[^0-9]||g}  >= 20121212
 USE_PHP+=	opcache
+.	if ${PHP_VER} >= 70
 RUN_DEPENDS+=	 ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu
+.	else
+RUN_DEPENDS+=	 ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu4
 .	endif
 .endif
 



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