pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/horde3 Support PHP5
details: https://anonhg.NetBSD.org/pkgsrc/rev/904ca671dc64
branches: trunk
changeset: 511532:904ca671dc64
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Sun Apr 16 17:17:48 2006 +0000
description:
Support PHP5
Original patch by Daniel Eggert in PR #33214
diffstat:
www/horde3/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r 413f961c7e1d -r 904ca671dc64 www/horde3/Makefile
--- a/www/horde3/Makefile Sun Apr 16 16:20:23 2006 +0000
+++ b/www/horde3/Makefile Sun Apr 16 17:17:48 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/03/28 20:09:49 adrianp Exp $
+# $NetBSD: Makefile,v 1.23 2006/04/16 17:17:48 adrianp Exp $
DISTNAME= horde-3.1.1
CATEGORIES= www
@@ -10,6 +10,8 @@
CONFLICTS+= horde-2.*
+.include "../../lang/php/phpversion.mk"
+
DEPENDS+= php-gettext>=4.3.3:../../devel/php-gettext
DEPENDS+= php-mcrypt>=4.3.3:../../security/php-mcrypt
DEPENDS+= php-iconv>=4.3.3:../../converters/php-iconv
@@ -18,7 +20,11 @@
DEPENDS+= pear-Mail_Mime-[0-9]*:../../mail/pear-Mail_Mime
DEPENDS+= pear-DB-[0-9]*:../../databases/pear-DB
DEPENDS+= ap-php>=4.3.3:../../www/ap-php
+.if ${PKG_PHP_VERSION} == "4"
DEPENDS+= php-domxml>=4.3.3:../../textproc/php4-domxml
+.elif ${PKG_PHP_VERSION} == "5"
+DEPENDS+= php-dom-[0-9]*:../../textproc/php5-dom
+.endif
DEPENDS+= php-zlib>=4.3.3:../../archivers/php-zlib
.include "../../mk/bsd.prefs.mk"
Home |
Main Index |
Thread Index |
Old Index