From owner-freebsd-ports@FreeBSD.ORG Thu Nov 5 20:00:51 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98E48106566B for ; Thu, 5 Nov 2009 20:00:51 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 488448FC15 for ; Thu, 5 Nov 2009 20:00:51 +0000 (UTC) Received: (qmail 9228 invoked by uid 399); 5 Nov 2009 20:00:49 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 5 Nov 2009 20:00:49 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4AF32EF7.6000405@FreeBSD.org> Date: Thu, 05 Nov 2009 12:00:55 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: rihad References: <4AF26A47.1040200@mail.ru> <4AF2800B.1040201@infracaninophile.co.uk> <4AF28B04.2000301@mail.ru> <4AF28C17.3060907@mail.ru> In-Reply-To: <4AF28C17.3060907@mail.ru> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: forcing ports to use Perl 5.8.8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2009 20:00:51 -0000 rihad wrote: > rihad wrote: >> 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? Sure. It doesn't matter if there is anything/nothing in the file, portmaster just tests for its existence. > portmaster manual says: > /var/db/pkg/*/+IGNOREME > If this file exists, several things will happen: > > 1. The port will be ignored for all purposes, including > dependency updates, if there is no directory for it in > /usr/ports, and there is no entry for it in > /usr/ports/MOVED. > > I don't understand the if part. There _is_ a directory for lang/perl5.8 > in ports, so the port _won't_ be ignored? Yeah, looking at that now it doesn't make a lot of sense. :) Is this more clear: The port will be ignored for all purposes. This includes dependency updates even if there is no directory for the port in /usr/ports and there is no entry for it in /usr/ports/MOVED. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/