Selecting a specific perl version

Thomas Keller tommyd at macports.org
Sat Sep 11 16:37:47 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi!

I'm going a bit mad while I'm working on #26320 (background: the port in
question specifically needs Perl 5.10 or newer as some functionality
fails on 5.8). I added two variants a couple of days ago, one for
perl5.10 and one for perl5.12, but haven't checked closely enough if
that solves the reporters problem. It turns out it didn't because my fix
did not yet include the replacement of

   configure.cmd   ${prefix}/bin/perl

by

   configure.cmd   ${prefix}/bin/perl5.10    or
   configure.cmd   ${prefix}/bin/perl5.12

which is needed to let Perl install the libs in the proper place. Now
that this happens the configure process further fails because (of
course) it does not find a myriad of dependent perl5 modules underknees
the perl5.10 installation - as it seems they're all installed in the
"default" 5.8 installation. The question is now: Am I doing something
wrong while using the perl5 portgroup or what can I do otherwise to
enforce that all dependent perl5 module dependencies are installed in
the right perl installation before my port is installed? Fiddling around
with ${perl5.bin} anywhere in my port doesn't seem to have any influence
on the behaviour of the perl portgroup...

Thanks in advance,
Thomas.

- -- 
GPG-Key 0x160D1092 | tommyd3mdi at jabber.ccc.de | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyMEssACgkQaf7NlBYNEJK4EgCgnI3/rT+nWpAu2xjs6hwxcDeb
XL4AoJEA1SOPzOY3fY+85upFkdY8J4LP
=pFvY
-----END PGP SIGNATURE-----


More information about the macports-dev mailing list