Modified: trunk/dports/sysutils/rpm52/Portfile (76681 => 76682)
--- trunk/dports/sysutils/rpm52/Portfile 2011-03-05 14:21:47 UTC (rev 76681)
+++ trunk/dports/sysutils/rpm52/Portfile 2011-03-05 14:35:13 UTC (rev 76682)
@@ -4,7 +4,7 @@
name rpm52
version 5.2.1
-revision 2
+revision 3
platforms darwin freebsd linux
categories sysutils archivers
maintainers mac.com:n3npq afb
@@ -47,7 +47,8 @@
--with-python=2.5 --with-perl --with-sqlite --with-dbapi=sqlite \
--with-xar=external --with-xz=external --with-pcre=external --with-uuid=external \
--without-apidocs --sysconfdir=${prefix}/etc --with-path-cfg=${prefix}/etc/rpm
-configure.env __PYTHON=${prefix}/bin/python2.5 __PERL=${prefix}/bin/perl5.8
+configure.env __PYTHON=${prefix}/bin/python2.5 __PERL=${prefix}/bin/perl5.8 \
+ PERL=${prefix}/bin/perl5.8
configure.args-append --with-js=internal --with-lua=internal --with-db=internal
@@ -116,6 +117,8 @@
variant perl5_10 description { use perl 5.10 instead of perl 5.8 } {
depends_lib-delete port:perl5.8
depends_lib-append port:perl5.10
+ configure.env-delete PERL=${prefix}/bin/perl5.8
+ configure.env-append PERL=${prefix}/bin/perl5.10
configure.env-delete __PERL=${prefix}/bin/perl5.8
configure.env-append __PERL=${prefix}/bin/perl5.10
}