Switching to Perl 5.16

Joshua Root jmr at macports.org
Mon Jul 1 03:44:09 PDT 2013


On 2013-7-1 17:34 , Jeremy Huddleston Sequoia wrote:
> 
> On Jun 19, 2013, at 12:44 PM, Joshua Root <jmr at macports.org> wrote:
> 
>> Anything that depends on intltool and uses the standard autoconf macros
>> to check for it also needs to be updated when intltool is,
>> unfortunately. INTLTOOL_PERL needs to match the perl used by intltool,
>> or the configure script complains.
> 
> I tried setting +perl5_16 as a variant in my full rebuild this weekend, and intltool was certainly the biggest thorn..
> 
> Is there any reason not to just do something like this:
> 
> ~/src/macports/dports/textproc/intltool $ svn diff
> Index: Portfile
> ===================================================================
> --- Portfile	(revision 107483)
> +++ Portfile	(working copy)
> @@ -5,6 +5,7 @@
>  
>  name            intltool
>  version         0.50.2
> +revision        1
>  maintainers     nomaintainer
>  categories      textproc gnome
>  license         GPL-2+
> @@ -31,13 +32,13 @@
>  
>  depends_build   port:gnome-common
>  depends_lib     port:expat \
> -                port:perl5.12 \
> -                port:p5.12-xml-parser \
> -                port:p5.12-getopt-long \
> -                port:p5.12-pathtools \
> -                port:p5.12-scalar-list-utils
> +                port:perl5 \
> +                port:p5-xml-parser \
> +                port:p5-getopt-long \
> +                port:p5-pathtools \
> +                port:p5-scalar-list-utils
>  
> -configure.perl  ${prefix}/bin/perl5.12
> +configure.perl  ${prefix}/bin/perl5

There's no guarantee that perl5 is linked to the same perl version as
p5-xml-parser's dependency uses.

- Josh


More information about the macports-dev mailing list