[118533] trunk/dports/net/pidgin/Portfile

David Evans devans at macports.org
Fri Apr 4 08:59:48 PDT 2014


On 4/4/14 1:22 AM, Ryan Schmidt wrote:
> On Apr 4, 2014, at 00:03, devans at macports.org wrote:
>
>> Revision
>> 118533
>> Author
>> devans at macports.org
>> Date
>> 2014-04-03 22:03:33 -0700 (Thu, 03 Apr 2014)
>> Log Message
>>
>> pidgin: depend on perl5, increment revision to rebuild archived binary with latest default version (#42213), maintainer timeout.
>> Modified Paths
>>
>> 	• trunk/dports/net/pidgin/Portfile
>> Diff
>>
>> Modified: trunk/dports/net/pidgin/Portfile (118532 => 118533)
>> @@ -38,7 +38,8 @@
>>
>>                      port:libidn \
>>
>>                      port:libxml2 \
>>
>>                      port:nspr \
>>
>> -                    port:nss
>>
>> +                    port:nss \
>> +                    port:perl5
> You should use a specific version of perl instead, like perl5.16.
>
>
>
Unfortunately that doesn't work in this situation.  configure.ac needs
to be modified to respect
configure.perl before a version specific perl can be used.

configure.ac uses this code to test for perl:

        AC_PATH_PROG(perlpath, perl)
        AC_MSG_CHECKING(for Perl compile flags)
        PERL_CFLAGS=`$perlpath -MExtUtils::Embed -e ccopts 2>/dev/null`

Consider this configuration that might result from the recent change in
perl5's default variant (this is the configuration I use to test for
intltool configuration problems).

  perl5 @5.12.4_0+perl5_12 (active)
  perl5.12 @5.12.4_3 (active)
  perl5.16 @5.16.3_0 (active)

perl -MExtUtils::Embed -e ccopts 2>/dev/null 

gives

 -pipe -Os  -fno-common -DPERL_DARWIN -I/opt/local/include
-no-cpp-precomp -fno-strict-aliasing -fstack-protector
-I/opt/local/include 
-I/opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE

Worse, if perl5 is not active at all

  perl5 @5.12.4_0+perl5_12
  perl5.12 @5.12.4_3 (active)
  perl5.16 @5.16.3_0 (active)

it will select the system perl

perl -MExtUtils::Embed -e ccopts 2>/dev/null 

now gives

  -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN
-fno-strict-aliasing -fstack-protector -I/usr/local/include 
-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE







More information about the macports-dev mailing list