pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/php-glpi
Module Name: pkgsrc
Committed By: taca
Date: Wed Jul 19 03:06:00 UTC 2017
Modified Files:
pkgsrc/www/php-glpi: Makefile
Log Message:
Take care for php56 case, depending on www/php-apcu4 instead of
www/php-apcu_bc.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/php-glpi/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/php-glpi/Makefile
diff -u pkgsrc/www/php-glpi/Makefile:1.1 pkgsrc/www/php-glpi/Makefile:1.2
--- pkgsrc/www/php-glpi/Makefile:1.1 Tue Jul 18 14:29:51 2017
+++ pkgsrc/www/php-glpi/Makefile Wed Jul 19 03:06:00 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2017/07/18 14:29:51 hauke Exp $
+# $NetBSD: Makefile,v 1.2 2017/07/19 03:06:00 taca Exp $
DISTNAME= glpi-${GLPI_VERSION}
GLPI_VERSION= 9.1.5
@@ -21,7 +21,6 @@ DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.4:../.
DEPENDS+= ${PHP_PKG_PREFIX}-imap>=5.4:../../mail/php-imap
DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=5.4:../../net/php-xmlrpc
DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.4:../../textproc/php-json
-DEPENDS+= ${PHP_PKG_PREFIX}-apcu_bc>=1.0:../../www/php-apcu_bc
DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.4:../../www/php-curl
DEPENDS+= freefont-ttf-[0-9]*:../../fonts/freefont-ttf
@@ -78,6 +77,14 @@ REPLACE_FILES.php+= vendor/sabre/vo
INSTALLATION_DIRS+= ${GLPI_DIR} ${EGDIR}
+.include "../../lang/php/phpversion.mk"
+
+.if ${PKG_PHP_VERSION} == 56
+DEPENDS+= ${PHP_PKG_PREFIX}-apcu>=4.0:../../www/php-apcu4
+.else
+DEPENDS+= ${PHP_PKG_PREFIX}-apcu_bc>=1.0:../../www/php-apcu_bc
+.endif
+
post-extract:
for ddd in config_path.php crontab.sample httpd-glpi.conf ; do \
${CP} ${FILESDIR}/$${ddd} ${WRKSRC}/config ; \
Home |
Main Index |
Thread Index |
Old Index