<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6bd87c6465439c9c7345f87c7266e9b9b34042f8">https://github.com/macports/macports-ports/commit/6bd87c6465439c9c7345f87c7266e9b9b34042f8</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 6bd87c6 p5-net-curl: always configure using MacPorts curl, rebuild
</span>6bd87c6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6bd87c6465439c9c7345f87c7266e9b9b34042f8
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Sat Jun 24 13:33:36 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> p5-net-curl: always configure using MacPorts curl, rebuild
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Should fix build on 10.9 and earlier.
</span>---
perl/p5-net-curl/Portfile | 12 ++++++++++--
perl/p5-net-curl/files/macports-curl-inc-dir.patch | 10 ++++++++++
2 files changed, 20 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-net-curl/Portfile b/perl/p5-net-curl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a2a4fa1..50d2a3c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-net-curl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-net-curl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup perl5 1.0
</span>
perl5.branches 5.24 5.26
perl5.setup Net-Curl 0.37
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> license MIT
maintainers {devans @dbevans} openmaintainer
description Net::Curl - Perl interface for libcurl
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,5 +21,13 @@ if {${perl5.major} != ""} {
</span> port:p${perl5.major}-extutils-pkgconfig \
port:curl
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles curl-7.50.2-invalid-symbols.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles curl-7.50.2-invalid-symbols.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ macports-curl-inc-dir.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@MP_CURL_INCDIR@@|${prefix}/include|" ${worksrcpath}/Makefile.PL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CURL_CONFIG="${prefix}/bin/curl-config"
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-net-curl/files/macports-curl-inc-dir.patch b/perl/p5-net-curl/files/macports-curl-inc-dir.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..0deb350
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-net-curl/files/macports-curl-inc-dir.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.PL.orig 2017-06-24 12:22:42.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.PL 2017-06-24 12:24:16.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -224,6 +224,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sub get_curl_incdir
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my @incpath = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ qw(@@MP_CURL_INCDIR@@),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ( defined $curl{incdir} ? $curl{incdir} : () ),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ( $curl{cflags} =~ /-I(\S+)/g ),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ( defined $curl{prefix} ? "$curl{prefix}/include" : () ),
</span></pre><pre style='margin:0'>
</pre>