replace bad handrolled cruft with ${MODPHP_VSPEC}

This commit is contained in:
sthen 2012-01-11 22:16:44 +00:00
parent 0d66cd4071
commit c3f56ab266

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.14 2012/01/11 22:09:48 sthen Exp $
# $OpenBSD: Makefile,v 1.15 2012/01/11 22:16:44 sthen Exp $
COMMENT= modular framework for web-based applications
# LGPLv2
DISTNAME= horde-3.3.12
REVISION= 2
REVISION= 3
CATEGORIES= devel
MASTER_SITES= ${HORDE_SITES:=horde/}
HOMEPAGE= http://www.horde.org/
@ -29,6 +29,6 @@ RUN_DEPENDS+= databases/pear-DB \
www/pecl-geoip \
lang/php/${MODPHP_VERSION},-gd \
lang/php/${MODPHP_VERSION},-mcrypt \
php-mysql-${MODPHP_VERSION}.*|php-pgsql-${MODPHP_VERSION}.*:lang/php/${MODPHP_VERSION},-pgsql
php-mysql-${MODPHP_VSPEC}|php-pgsql-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-pgsql
.include <bsd.port.mk>