summaryrefslogtreecommitdiff
path: root/lang/php5-perl
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-06-16 02:56:29 +0000
committertaca <taca@pkgsrc.org>2012-06-16 02:56:29 +0000
commit460880f30d992de9a571accf5382ca3526e03bf7 (patch)
tree6b1322d2df5a4f7f654e8468b681fd560850cd05 /lang/php5-perl
parent9166172e2d4c1c5325fcd840e184dc4c1a9c304e (diff)
downloadpkgsrc-460880f30d992de9a571accf5382ca3526e03bf7.tar.gz
Restrict to PHP 5.2.x and 5.3.x.
Diffstat (limited to 'lang/php5-perl')
-rw-r--r--lang/php5-perl/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/php5-perl/Makefile b/lang/php5-perl/Makefile
index c7212e764b4..c78b7e0e804 100644
--- a/lang/php5-perl/Makefile
+++ b/lang/php5-perl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2012/05/12 11:40:06 obache Exp $
+# $NetBSD: Makefile,v 1.9 2012/06/16 02:56:29 taca Exp $
MODNAME= perl
PKGMODNAME= perl
@@ -9,10 +9,13 @@ COMMENT= PHP extension embedding Perl in PHP
PKG_DESTDIR_SUPPORT= user-destdir
+PHP_VERSIONS_ACCEPTED= 52 53
+
CONFIGURE_ARGS+= --with-perl=${PERLDIR}
.include "../../lang/php/phpversion.mk"
-.if ${PKG_PHP_VERSION} == "5" || ${PKG_PHP_VERSION} == "52"
+
+.if ${PKG_PHP_VERSION} == "52"
PECL_LEGACY_VERSION_SCHEME= yes
.endif