From owner-freebsd-ports@FreeBSD.ORG Tue Sep 3 16:29:06 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D187BC3; Tue, 3 Sep 2013 16:29:06 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3A2722991; Tue, 3 Sep 2013 16:29:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id r83GT3el072694; Tue, 3 Sep 2013 20:29:03 +0400 (MSK) (envelope-from marck@rinet.ru) Date: Tue, 3 Sep 2013 20:29:03 +0400 (MSK) From: Dmitry Morozovsky To: Mark Felder Subject: Re: Perl port to select in make.conf In-Reply-To: <1378218213.7517.17366825.4444E2F4@webmail.messagingengine.com> Message-ID: References: <1378212363.28729.17326017.3C186034@webmail.messagingengine.com> <1378218213.7517.17366825.4444E2F4@webmail.messagingengine.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [0.0.0.0]); Tue, 03 Sep 2013 20:29:03 +0400 (MSK) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Sep 2013 16:29:06 -0000 On Tue, 3 Sep 2013, Mark Felder wrote: > > > > which variable should be defined in make.conf to switch from current 5.14 > > > > to, > > > > say, 5.16 (for poudriere package building)? > > > > > > > > Naive > > > > > > > > PERL_VER=5.16 > > > > > > > > does not seem to work, and I want to not chase minor version changes. > > > > > > > > > > PERL_PORT > > > > > > example: > > > > > > PERL_PORT=perl5.14 > > > > Unfortunately, this variable seems to be slave to PERL_VERSION, not vice > > versa. > > > > I've been using solely PERL_PORT in my poudriere make.conf for about... > 8 months now with no issues. I get exactly the perl train I want and all > ports are built properly against the version I want. Can you provide any > details indicating this method is incorrect? with PERL_PORT=perl5.16 I got ====>> [01] Finished build of lang/perl5.16: Success ====>> [01] Starting build of misc/help2man ====>> [01] Finished build of misc/help2man: Failed: build-depends end of error log is ===> Returning to build of help2man-1.43.3 ===> help2man-1.43.3 depends on file: /usr/local/bin/perl5.14.4 - not found ===> Verifying install for /usr/local/bin/perl5.14.4 in /usr/ports/lang/perl5.16 ===> Installing existing package /packages/All/perl-5.16.3.tbz pkg_add: package 'perl-5.16.3' or its older version already installed *** [build-depends] Error code 1 Stop in /usr/ports/misc/help2man. ===> Cleaning for help2man-1.43.3 Hence, build-depends does not detect perl5.16 :( -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------