tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Disable lang/perl5 threads by default
Le 03/06/14 13:04, Jonathan Perkin a écrit :
> For the last couple of releases, Perl has officially discouraged
> the use of ithreads:
>
> https://metacpan.org/changes/distribution/perl#Interpreter-based-threads-are-now-discouraged
>
> Our options.mk enables threads by default if they are builtin,
> which is probably the vast majority of platforms by now.
>
> I propose we remove the PKG_SUGGESTED_OPTIONS setting, and leave it
> to the user to enable them if required, so that we match the
> upstream recommendation.
>
> Objections?
>
Jonathan, for my part I've set 'PKG_OPTIONS.perl= -threads' in my
mk.conf since your post and so far the only apparent issue for the
packages I use so far seems to be a 'known' install-time issue with
p5-subversion:
> => Becoming ``root'' to make su-real-package-install (pfexec) ===>
> Install binary package of p5-subversion-1.8.10 ==>
> p5-subversion-1.8.10 requires a Perl that supports threads.
> pkg_add: install script returned error status pkg_add: 1 package
> addition failed *** Error code 1
Home |
Main Index |
Thread Index |
Old Index