From 78e692d24a8c525ab7c7e43022f83e7a1131b7db Mon Sep 17 00:00:00 2001 From: taca Date: Sat, 16 Jun 2012 02:50:47 +0000 Subject: * Don't strictly depends on php53. * Use updated phpversion.mk. --- benchmarks/phoronix-test-suite/Makefile | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'benchmarks') diff --git a/benchmarks/phoronix-test-suite/Makefile b/benchmarks/phoronix-test-suite/Makefile index ee83e9f6f5b..9be4fef858a 100644 --- a/benchmarks/phoronix-test-suite/Makefile +++ b/benchmarks/phoronix-test-suite/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2011/12/07 00:34:26 jym Exp $ +# $NetBSD: Makefile,v 1.3 2012/06/16 02:50:47 taca Exp $ # DISTNAME= phoronix-test-suite-${PTS_VERSION} @@ -11,18 +11,17 @@ HOMEPAGE= http://www.phoronix-test-suite.com/ COMMENT= Phoronix Benchmarking Suite LICENSE= gnu-gpl-v3 -DEPENDS+= php>=${PHP_BASE_VERS}<5.4:../../lang/php53 -DEPENDS+= php53-curl>=${PHP_BASE_VERS}<5.4:../../www/php-curl -DEPENDS+= php53-dom>=${PHP_BASE_VERS}<5.4:../../textproc/php-dom -DEPENDS+= php53-gd>=${PHP_BASE_VERS}<5.4:../../graphics/php-gd -DEPENDS+= php53-json>=${PHP_BASE_VERS}<5.4:../../textproc/php-json -DEPENDS+= php53-pcntl>=${PHP_BASE_VERS}<5.4:../../devel/php-pcntl -DEPENDS+= php53-posix>=${PHP_BASE_VERS}<5.4:../../devel/php-posix -DEPENDS+= php53-zip>=${PHP_BASE_VERS}<5.4:../../archivers/php-zip -DEPENDS+= php53-zlib>=${PHP_BASE_VERS}<5.4:../../archivers/php-zlib - PKG_DESTDIR_SUPPORT= user-destdir +DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.2:../../www/php-curl +DEPENDS+= ${PHP_PKG_PREFIX}-dom>=5.2:../../textproc/php-dom +DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.2:../../graphics/php-gd +DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.2:../../textproc/php-json +DEPENDS+= ${PHP_PKG_PREFIX}-pcntl>=5.2:../../devel/php-pcntl +DEPENDS+= ${PHP_PKG_PREFIX}-posix>=5.2:../../devel/php-posix +DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.2:../../archivers/php-zip +DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.2:../../archivers/php-zlib + INSTALLATION_DIRS= bin INSTALLATION_DIRS+= share/bash-completion.d INSTALLATION_DIRS+= share/doc/phoronix-test-suite @@ -38,6 +37,8 @@ pre-install: do-install: cd ${WRKSRC}/ && DESTDIR=${DESTDIR:Q} ./install-sh ${PREFIX:Q} +.include "../../lang/php/phpversion.mk" +.include "${PHPPKGSRCDIR}/buildlink3.mk" .include "../../databases/shared-mime-info/mimedb.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3