Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Nov 2009 12:21:24 +0400
From:      rihad <rihad@mail.ru>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: forcing ports to use Perl 5.8.8
Message-ID:  <4AF28B04.2000301@mail.ru>
In-Reply-To: <4AF2800B.1040201@infracaninophile.co.uk>
References:  <4AF26A47.1040200@mail.ru> <4AF2800B.1040201@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:
> rihad wrote:
>> Hello, I need to install security/p5-Digest-HMAC from the ports, but 
>> _only_ with the currently installed Perl 5.8.8, without it being 
>> upgraded to 5.8.9 as a dependency (because some other software dumps 
>> core with Perl 5.8.9). How can I as a user cleanly tell the system to 
>> stay with 5.8.8 and still be able to upgrade any other port, even all 
>> of them? I have in /etc/make.conf:
>>
>> PERL_VER=5.8.8
>> PERL_VERSION=5.8.8
>>
>> but this isn't enough.
>> /usr/ports/Mk/bsd.perl.mk has several knobs, which ones can I set in 
>> /etc/make.conf to achieve what I need (stay with perl 5.8.8)?
> 
> Basically, just don't upgrade perl.  The various perl modules will adapt to
> whatever version is installed. 
> If you use portupgrade(1) et al, add 'perl-*' to the HOLD_PKGS array in 
> /usr/local/etc/pkgtools.conf. If you use portmaster(1), create a file
> +IGNOREME in /var/db/pkg/perl-5.8.8/

Yes, I'm using portmaster. Should /var/db/pkg/perl-5.8.8_1/+IGNOREME be 
an empty file?

Thank you!



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