Ticket #46227: patch-xml-parser-2.44.diff
File patch-xml-parser-2.44.diff, 1.8 KB (added by dbevans (David B. Evans), 10 years ago) |
---|
-
Portfile
5 5 PortGroup perl5 1.0 6 6 7 7 perl5.branches 5.16 5.18 5.20 8 # https://trac.macports.org/ticket/46227 9 perl5.setup XML-Parser 2.41 10 revision 1 8 perl5.setup XML-Parser 2.44 11 9 maintainers phoenixtrap.com:mjg 12 10 platforms darwin 13 11 categories-append textproc … … 16 14 17 15 long_description A perl module for parsing XML documents using expat. 18 16 19 checksums rmd160 61252e5f33b205246f51c668180311e6cbd60111\20 sha256 b48197cd2265a26c5f016489f11a7b450d8833cb8b3d6a46ee15975740894de917 checksums rmd160 59c4f47030ef7d753ddf51e604c0fa505243c8f2 \ 18 sha256 1ae9d07ee9c35326b3d9aad56eae71a6730a73a116b9fe9e8a4758b7cc033216 21 19 22 20 if {${perl5.major} != ""} { 23 21 depends_lib-append \ 24 port:expat 25 patchfiles patch-CheckLib.pm.diff22 port:expat \ 23 port:p${perl5.major}-libwww-perl 26 24 } -
files/patch-CheckLib.pm.diff
1 --- inc/Devel/CheckLib.pm.orig 2011-05-24 21:39:14.000000000 -06002 +++ inc/Devel/CheckLib.pm 2014-07-21 14:04:44.000000000 -06003 @@ -332,6 +332,8 @@4 }5 6 sub _findcc {7 + my @cc = split(/\s+/, $ENV{CC});8 + return @cc if -x $cc[0];9 # Need to use $keep=1 to work with MSWin32 backslashes and quotes10 my @Config_ccflags_ldflags = @Config{qw(ccflags ldflags)}; # use copy so ASPerl will compile11 my @flags = grep { length } map { quotewords('\s+', 1, $_ || ()) } @Config_ccflags_ldflags;