how do I tell ports that perl5.8 should never be installed?

Matthew Seaman m.seaman at
Mon Mar 1 09:55:06 UTC 2010

Hash: SHA1

On 01/03/2010 01:45:26, Randal L. Schwartz wrote:
>>>>>> "Adam" == Adam Vande More <amvandemore at> 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.



- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
                                                  Kent, CT11 9PW
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla -


More information about the freebsd-questions mailing list