r76268 - in /branches/upstream/libmodule-install-xsutil-perl/current: Changes META.yml Makefile.PL lib/Module/Install/XSUtil.pm

angelabad-guest at users.alioth.debian.org angelabad-guest at users.alioth.debian.org
Wed Jun 22 13:40:49 UTC 2011


Author: angelabad-guest
Date: Wed Jun 22 13:40:40 2011
New Revision: 76268

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=76268
Log:
[svn-upgrade] new version libmodule-install-xsutil-perl (0.38)

Modified:
    branches/upstream/libmodule-install-xsutil-perl/current/Changes
    branches/upstream/libmodule-install-xsutil-perl/current/META.yml
    branches/upstream/libmodule-install-xsutil-perl/current/Makefile.PL
    branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm

Modified: branches/upstream/libmodule-install-xsutil-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-install-xsutil-perl/current/Changes?rev=76268&op=diff
==============================================================================
--- branches/upstream/libmodule-install-xsutil-perl/current/Changes (original)
+++ branches/upstream/libmodule-install-xsutil-perl/current/Changes Wed Jun 22 13:40:40 2011
@@ -1,4 +1,8 @@
 Revision history for Perl extension Module::Install::XSUtil
+
+0.38 2011-06-22 15:15:37
+    - Workaround MacOSX's system perl failure caused by multiple -arch
+      for gcc (thanks to @kazuho)
 
 0.37 2011-05-16 23:33:49
     - Makefile.PL -g implices "-g -ggdb -g3" for gcc (EXPERIMENTAL)

Modified: branches/upstream/libmodule-install-xsutil-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-install-xsutil-perl/current/META.yml?rev=76268&op=diff
==============================================================================
--- branches/upstream/libmodule-install-xsutil-perl/current/META.yml (original)
+++ branches/upstream/libmodule-install-xsutil-perl/current/META.yml Wed Jun 22 13:40:40 2011
@@ -31,4 +31,4 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: git://github.com/gfx/Perl-Module-Install-XSUtil.git
-version: 0.37
+version: 0.38

Modified: branches/upstream/libmodule-install-xsutil-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-install-xsutil-perl/current/Makefile.PL?rev=76268&op=diff
==============================================================================
--- branches/upstream/libmodule-install-xsutil-perl/current/Makefile.PL (original)
+++ branches/upstream/libmodule-install-xsutil-perl/current/Makefile.PL Wed Jun 22 13:40:40 2011
@@ -1,4 +1,4 @@
-#!perl -w
+#!perl
 use strict;
 use inc::Module::Install;
 

Modified: branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm?rev=76268&op=diff
==============================================================================
--- branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm (original)
+++ branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm Wed Jun 22 13:40:40 2011
@@ -2,7 +2,7 @@
 
 use 5.005_03;
 
-$VERSION = '0.37';
+$VERSION = '0.38';
 
 use Module::Install::Base;
 @ISA     = qw(Module::Install::Base);
@@ -564,7 +564,10 @@
             map{ qq{$add_include "$_"} } qw(EXTERN.h perl.h XSUB.h);
 
         my $cppcmd = qq{$Config{cpprun} $cppflags $h_file};
-
+        # remove all the -arch options to workaround gcc errors:
+        #       "-E, -S, -save-temps and -M options are not allowed
+        #        with multiple -arch flags"
+        $cppcmd =~ s/ -arch \s* \S+ //xmsg;
         _verbose("extract functions from: $cppcmd") if _VERBOSE;
         `$cppcmd`;
     };
@@ -780,7 +783,7 @@
 
 =head1 VERSION
 
-This document describes Module::Install::XSUtil version 0.37.
+This document describes Module::Install::XSUtil version 0.38.
 
 =head1 SYNOPSIS
 




More information about the Pkg-perl-cvs-commits mailing list