Perl port to select in make.conf

Dmitry Morozovsky marck at rinet.ru
Tue Sep 3 16:29:06 UTC 2013


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 at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-ports mailing list