summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-01-02 15:44:10 +0000
committerjperkin <jperkin@pkgsrc.org>2014-01-02 15:44:10 +0000
commita5aa1d1174162e4ec790575b6a551b75e45a770f (patch)
tree1bea6f04844eac5b72b0872cfad7b3046f18a2a8 /www
parentf3507ba1704914504a1ea1ced3bedd947722c89c (diff)
downloadpkgsrc-a5aa1d1174162e4ec790575b6a551b75e45a770f.tar.gz
php-apc isn't available for PHP 5.5+, use php-opcache then instead.
Diffstat (limited to 'www')
-rw-r--r--www/phraseanet/MESSAGE6
-rw-r--r--www/phraseanet/Makefile6
2 files changed, 9 insertions, 3 deletions
diff --git a/www/phraseanet/MESSAGE b/www/phraseanet/MESSAGE
index 061457c9bf2..22732d355a8 100644
--- a/www/phraseanet/MESSAGE
+++ b/www/phraseanet/MESSAGE
@@ -1,5 +1,5 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.2 2013/04/08 11:17:25 rodent Exp $
+$NetBSD: MESSAGE,v 1.3 2014/01/02 15:44:10 jperkin Exp $
You will need to make Phraseanet accessible through your HTTP server.
If you are running Apache then you may add the following lines to httpd.conf:
@@ -7,7 +7,9 @@ If you are running Apache then you may add the following lines to httpd.conf:
Include ${PKG_SYSCONFDIR}/phrasea.conf
You will also need to enable the following modules in ${PKG_SYSCONFDIR}/php.ini
- extension=apc.so
+
+ extension=apc.so # for PHP 5.4 and lower
+ extension=opcache.so # for PHP 5.5+
extension=mbstring.so
extension=gettext.so
extension=phrasea2.so
diff --git a/www/phraseanet/Makefile b/www/phraseanet/Makefile
index f6d56b17811..f41d032c7c0 100644
--- a/www/phraseanet/Makefile
+++ b/www/phraseanet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2013/10/18 11:41:18 bsiegert Exp $
+# $NetBSD: Makefile,v 1.12 2014/01/02 15:44:10 jperkin Exp $
#
.include "../../www/phraseanet/Makefile.common"
@@ -8,7 +8,11 @@ PKGREVISION= 3
USE_TOOLS+= pax
DEPENDS+= ${PHP_PKG_PREFIX}-phrasea2-[0-9]*:../../www/php-phrasea2
+.if ${PHP_PKG_PREFIX} >= 55
+DEPENDS+= ${PHP_PKG_PREFIX}-opcache-[0-9]*:../../devel/php-opcache
+.else
DEPENDS+= ${PHP_PKG_PREFIX}-apc-[0-9]*:../../www/php-apc
+.endif
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-gettext-[0-9]*:../../devel/php-gettext
DEPENDS+= ${PHP_PKG_PREFIX}-dom-[0-9]*:../../textproc/php-dom