how do I tell ports that perl5.8 should never be installed?
Matthew Seaman
m.seaman at infracaninophile.co.uk
Mon Mar 1 09:55:06 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/03/2010 01:45:26, Randal L. Schwartz wrote:
>>>>>> "Adam" == Adam Vande More <amvandemore at gmail.com> writes:
>
> Adam> Can you attach your make.conf?
>
> WITHOUT_X11=yes
> # added by use.perl 2010-02-28 17:41:39
> PERL_VERSION=5.10.1
>
> The problem is not ports, it's packages. If a package specifies 5.8,
> it installs the 5.8 package, and I'm toast. So make.conf doesn't matter.
>
Precompiled packages aren't going to work for this: the dependencies are
compiled in. Also, specifically a perl thing: the perl version number
is encoded into the library paths where modules are installed, which
makes it ... challenging ... to use them with a different version of perl.
For best results, install from ports rather than packages. If it's
pure-perl code, then this should be hardly more onerous than installing
a compiled package. XS code however will chew up some CPU cycles.
Check out portmaster(8) or portupgrade(8) as the moral equivalents of
the cpan(1) program to make dealing with ports more convenient.
Cheers,
Matthew
- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkuLjvQACgkQ8Mjk52CukIw7lQCeIhbfLGI/znN3NaUvtcJqsaJt
/WMAnRXkdrdGN9vKc/MZ24hnhoiEv4Kb
=Z8PX
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list