From 8521d4f60e68e397d957418ffad5695ceb949bd7 Mon Sep 17 00:00:00 2001 From: adrianp <adrianp@pkgsrc.org> Date: Sun, 16 Apr 2006 17:17:48 +0000 Subject: Support PHP5 Original patch by Daniel Eggert in PR #33214 --- www/horde3/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'www') diff --git a/www/horde3/Makefile b/www/horde3/Makefile index 3bdf78ed158..d4f9861efdd 100644 --- a/www/horde3/Makefile +++ b/www/horde3/Makefile @@ -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 @@ COMMENT= PHP application framework 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-Log-[0-9]*:../../sysutils/pear-Log 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" -- cgit v1.2.3