diff options
author | taca <taca@pkgsrc.org> | 2012-06-16 02:54:11 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2012-06-16 02:54:11 +0000 |
commit | 4d64b0d64165ada369353ae00fe0336001871bff (patch) | |
tree | 1fcff02f443c3b5d1df7917925a391a6aaf31ccb /databases | |
parent | a2d6659378782408a236e24537b537c569071140 (diff) | |
download | pkgsrc-4d64b0d64165ada369353ae00fe0336001871bff.tar.gz |
* php-sqlite is obsoleted by PHP 5.4.
* Add usage of PHP_BASE_VERS in PKGNAME.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/php-sqlite/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/databases/php-sqlite/Makefile b/databases/php-sqlite/Makefile index ea71db9fd65..6f276b61caa 100644 --- a/databases/php-sqlite/Makefile +++ b/databases/php-sqlite/Makefile @@ -1,18 +1,23 @@ -# $NetBSD: Makefile,v 1.13 2010/03/15 16:45:59 taca Exp $ +# $NetBSD: Makefile,v 1.14 2012/06/16 02:54:11 taca Exp $ MODNAME= sqlite -PKGNAME= ${PHP_PKG_PREFIX}-${MODNAME}-${PHP_BASE_VERS}.1.0.3 CATEGORIES+= databases COMMENT= PHP extension for SQLite 2.x databases -# -# Above PKGNAME definition should be removed after next release of lang/php5. -# - PKG_DESTDIR_SUPPORT= user-destdir CONFLICTS= php-sqlite-[0-9]* +PHP_VERSIONS_ACCEPTED= 52 53 + +.include "../../lang/php/phpversion.mk" + +# Remove these PKGNAME tweak after PHP 5.2.18 (or end of supporting php52) +# *AND* after PHP 5.3.14 release +.if ${PHP_BASE_VERS} == "5.2.17" || ${PHP_BASE_VERS} == "5.3.14" +PKGNAME= ${PHP_PKG_PREFIX}-${MODNAME}-${PHP_BASE_VERS}.1.0.3 +.endif + CONFIGURE_ARGS+= --with-${PKGMODNAME}=shared,${BUILDLINK_PREFIX.sqlite} CONFIGURE_ENV+= PHP_PDO=no |