pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/phabricator Depend on correct apcu depending on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ee450a11b69
branches:  trunk
changeset: 368315:7ee450a11b69
user:      roy <roy%pkgsrc.org@localhost>
date:      Thu Sep 14 09:32:41 2017 +0000

description:
Depend on correct apcu depending on PHP version used.

diffstat:

 devel/phabricator/Makefile |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (41 lines):

diff -r 596a6a7ce1db -r 7ee450a11b69 devel/phabricator/Makefile
--- a/devel/phabricator/Makefile        Thu Sep 14 08:55:21 2017 +0000
+++ b/devel/phabricator/Makefile        Thu Sep 14 09:32:41 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2017/08/13 15:03:55 taca Exp $
+# $NetBSD: Makefile,v 1.12 2017/09/14 09:32:41 roy Exp $
 
 DISTNAME=              phabricator-20170609
 CATEGORIES=            devel
@@ -12,11 +12,12 @@
 COMMENT=               Open software engineering platform
 LICENSE=               apache-2.0
 
-PHP_VERSIONS_ACCEPTED= 71
+PHP_VERSIONS_INCOMPATIBLE=      70
 
 USE_TOOLS+=            pax bash:run
 EXTRACT_USING=         bsdtar
 
+.include "../../lang/php/phpversion.mk"
 DEPENDS+=              ${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl
 DEPENDS+=              ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring
 DEPENDS+=              ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv
@@ -26,7 +27,11 @@
 DEPENDS+=              ${PHP_PKG_PREFIX}-gd-[0-9]*:../../graphics/php-gd
 DEPENDS+=              ${PHP_PKG_PREFIX}-zlib-[0-9]*:../../archivers/php-zlib
 DEPENDS+=              ${PHP_PKG_PREFIX}-opcache-[0-9]*:../../devel/php-opcache
+.if ${PKG_PHP_MAJOR_VERS} == "5"
+DEPENDS+=              ${PHP_PKG_PREFIX}-apcu-[0-9]*:../../www/php-apcu4
+.else
 DEPENDS+=              ${PHP_PKG_PREFIX}-apcu-[0-9]*:../../www/php-apcu
+.endif
 #DEPENDS+=             :../../textproc/py-pygments?
 DEPENDS+=              libphutil-[0-9]*:../../devel/libphutil
 DEPENDS+=              arcanist-[0-9]*:../../devel/arcanist
@@ -91,5 +96,4 @@
                        ${PAX} -rw * -s',.*\.orig$$,,' \
                                ${DESTDIR}${PREFIX}/${PHABRICATOR_DIR}
 
-.include "../../lang/php/phpversion.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index