[97424] trunk/dports/perl/p5-xml-parser
jmr at macports.org
jmr at macports.org
Wed Sep 5 12:24:52 PDT 2012
Revision: 97424
https://trac.macports.org/changeset/97424
Author: jmr at macports.org
Date: 2012-09-05 12:24:51 -0700 (Wed, 05 Sep 2012)
Log Message:
-----------
p5-xml-parser: obey configure.cc (#35533)
Modified Paths:
--------------
trunk/dports/perl/p5-xml-parser/Portfile
Added Paths:
-----------
trunk/dports/perl/p5-xml-parser/files/
trunk/dports/perl/p5-xml-parser/files/inc_Devel_CheckLib.pm.patch
Modified: trunk/dports/perl/p5-xml-parser/Portfile
===================================================================
--- trunk/dports/perl/p5-xml-parser/Portfile 2012-09-05 19:06:55 UTC (rev 97423)
+++ trunk/dports/perl/p5-xml-parser/Portfile 2012-09-05 19:24:51 UTC (rev 97424)
@@ -21,5 +21,6 @@
rmd160 0e932488addc8c164d14c45899cb0432c47bf167
if {${perl5.major} != ""} {
-depends_lib-append port:expat
+ patchfiles inc_Devel_CheckLib.pm.patch
+ depends_lib-append port:expat
}
Added: trunk/dports/perl/p5-xml-parser/files/inc_Devel_CheckLib.pm.patch
===================================================================
--- trunk/dports/perl/p5-xml-parser/files/inc_Devel_CheckLib.pm.patch (rev 0)
+++ trunk/dports/perl/p5-xml-parser/files/inc_Devel_CheckLib.pm.patch 2012-09-05 19:24:51 UTC (rev 97424)
@@ -0,0 +1,11 @@
+--- inc/Devel/CheckLib.pm.orig 2010-09-14 22:12:52.000000000 +1000
++++ inc/Devel/CheckLib.pm 2012-08-25 20:49:18.000000000 +1000
+@@ -326,6 +326,8 @@
+ }
+
+ sub _findcc {
++ my @cc = split(/\s+/, $ENV{CC});
++ return @cc if -x $cc[0];
+ my @paths = split(/$Config{path_sep}/, $ENV{PATH});
+ my @cc = split(/\s+/, $Config{cc});
+ return @cc if -x $cc[0];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120905/da443bfc/attachment.html>
More information about the macports-changes
mailing list