svn commit: r437409 - head/devel/phabricator
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Apr 1 10:52:16 UTC 2017
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
More information about the svn-ports-head
mailing list