[76682] trunk/dports/sysutils/rpm52/Portfile
afb at macports.org
afb at macports.org
Sat Mar 5 06:35:14 PST 2011
Revision: 76682
http://trac.macports.org/changeset/76682
Author: afb at macports.org
Date: 2011-03-05 06:35:13 -0800 (Sat, 05 Mar 2011)
Log Message:
-----------
fix configure/make using wrong perl version
Modified Paths:
--------------
trunk/dports/sysutils/rpm52/Portfile
Modified: trunk/dports/sysutils/rpm52/Portfile
===================================================================
--- 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
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110305/e386cbc9/attachment.html>
More information about the macports-changes
mailing list