Switching to Perl 5.16
Jeremy Huddleston Sequoia
jeremyhu at apple.com
Mon Jul 1 00:34:44 PDT 2013
On Jun 19, 2013, at 12:44 PM, Joshua Root <jmr at macports.org> wrote:
> On 2013-6-20 02:02 , Frank Schima wrote:
>> It seems to me that we should be switching the default perl in Macports
>> from version 5.12 to 5.16. Are there any objections to this? If not, I
>> will create a Trac ticket about this.
>>
>> Here are the ports that need to be changed (46 total). Generated with
>> the following command:
>>
>> port echo depends:perl5.12 and not 'p5.12-*'
>>
>> I then culled perl5 and subversion-perlbindings-5.12 from the list.
>
> 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
test.run yes
test.target check
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4136 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20130701/939c82a1/attachment-0001.p7s>
More information about the macports-dev
mailing list