diff options
author | adrianp <adrianp> | 2006-04-16 17:17:48 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2006-04-16 17:17:48 +0000 |
commit | 394c7fd3e3556af8038c7d7f6ac2d04f556f473f (patch) | |
tree | 0b9f1a938ba1de31b2263b60ccd5d8f798fb3a11 /www | |
parent | d879bafe44e9025e6a3003ddda62be5b216bd69f (diff) | |
download | pkgsrc-394c7fd3e3556af8038c7d7f6ac2d04f556f473f.tar.gz |
Support PHP5
Original patch by Daniel Eggert in PR #33214
Diffstat (limited to 'www')
-rw-r--r-- | www/horde3/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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" |