diff options
author | taca <taca@pkgsrc.org> | 2012-06-16 03:02:09 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2012-06-16 03:02:09 +0000 |
commit | af866eed0c48706d5616e1ff3bb274c73f7f1e69 (patch) | |
tree | e48d89d13f31590e9e5ad41058f50bc6dc3fca1b /textproc/php-enchant | |
parent | 3dc8a3b68bcfe3957fb2b1b9b7c1dc7bc113ec06 (diff) | |
download | pkgsrc-af866eed0c48706d5616e1ff3bb274c73f7f1e69.tar.gz |
Use bundled version instead of PECL release for PHP 5.2.x.
Diffstat (limited to 'textproc/php-enchant')
-rw-r--r-- | textproc/php-enchant/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/textproc/php-enchant/Makefile b/textproc/php-enchant/Makefile index 06c4428f1ba..467a5298265 100644 --- a/textproc/php-enchant/Makefile +++ b/textproc/php-enchant/Makefile @@ -1,9 +1,6 @@ -# $NetBSD: Makefile,v 1.6 2012/03/03 00:14:00 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2012/06/16 03:02:09 taca Exp $ MODNAME= enchant -PECL_VERSION= 1.1.0 -PKGREVISION= 3 -PECL_LEGACY_VERSION_SCHEME= yes CATEGORIES+= textproc COMMENT= PHP extension for ENCHANT (spelling) support @@ -13,6 +10,15 @@ CONFIGURE_ARGS+= --with-enchant=shared,${BUILDLINK_PREFIX.enchant} BUILDLINK_API_DEPENDS.enchant+= enchant>=1.2.4 +.include "../../lang/php/phpversion.mk" + +# PHP 5.2.x needs pecl version +.if ${PKG_PHP_VERSION} == 52 +PECL_VERSION= 1.1.0 +PKGREVISION= 3 +PECL_LEGACY_VERSION_SCHEME= yes +.endif + .include "../../lang/php/ext.mk" .include "../../textproc/enchant/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |