[130877] trunk/dports/perl/p5-xml-parser/files/patch-CheckLib.pm.diff

devans at macports.org devans at macports.org
Sat Jan 3 05:01:21 PST 2015


Revision: 130877
          https://trac.macports.org/changeset/130877
Author:   devans at macports.org
Date:     2015-01-03 05:01:21 -0800 (Sat, 03 Jan 2015)
Log Message:
-----------
p5-xml-parser: revert inadvertant changes from r130876.

Revision Links:
--------------
    https://trac.macports.org/changeset/130876

Modified Paths:
--------------
    trunk/dports/perl/p5-xml-parser/files/patch-CheckLib.pm.diff

Modified: trunk/dports/perl/p5-xml-parser/files/patch-CheckLib.pm.diff
===================================================================
--- trunk/dports/perl/p5-xml-parser/files/patch-CheckLib.pm.diff	2015-01-03 12:34:41 UTC (rev 130876)
+++ trunk/dports/perl/p5-xml-parser/files/patch-CheckLib.pm.diff	2015-01-03 13:01:21 UTC (rev 130877)
@@ -1,11 +1,11 @@
---- inc/Devel/CheckLib.pm.orig	2014-12-10 22:51:11.000000000 -0800
-+++ inc/Devel/CheckLib.pm	2014-12-14 07:50:42.000000000 -0800
-@@ -362,6 +362,8 @@
- # where $cc is an array ref of compiler name, compiler flags
- # where $ld is an array ref of linker flags
+--- inc/Devel/CheckLib.pm.orig	2011-05-24 21:39:14.000000000 -0600
++++ inc/Devel/CheckLib.pm	2014-07-21 14:04:44.000000000 -0600
+@@ -332,6 +332,8 @@
+ }
+     
  sub _findcc {
 +    my @cc = split(/\s+/, $ENV{CC});
 +    return @cc if -x $cc[0];
      # Need to use $keep=1 to work with MSWin32 backslashes and quotes
-     my $Config_ccflags =  $Config{ccflags};  # use copy so ASPerl will compile
-     my @Config_ldflags = ();
+     my @Config_ccflags_ldflags =  @Config{qw(ccflags ldflags)};  # use copy so ASPerl will compile
+     my @flags = grep { length } map { quotewords('\s+', 1, $_ || ()) } @Config_ccflags_ldflags;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150103/5f1c771b/attachment.html>


More information about the macports-changes mailing list