Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Mar 2010 09:55:00 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: how do I tell ports that perl5.8 should never be installed?
Message-ID:  <4B8B8EF4.9040806@infracaninophile.co.uk>
In-Reply-To: <86k4twke6h.fsf@blue.stonehenge.com>
References:  <86zl2tkrrv.fsf@blue.stonehenge.com>	<6201873e1002281349n2bcfd16dte6fdce53cd14c1db@mail.gmail.com>	<86iq9hkoxf.fsf@blue.stonehenge.com>	<6201873e1002281738o35444a7ahcc184951f712f0a7@mail.gmail.com>	<86ocj8kee0.fsf@blue.stonehenge.com>	<6201873e1002281742i687c2d41y44e3e0f97f35166f@mail.gmail.com> <86k4twke6h.fsf@blue.stonehenge.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B8B8EF4.9040806>