From 01b17633231d1fb169107d46058cbfd0dfed67e0 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 6 Jun 2016 12:23:07 +0000 Subject: - Fix build CURL_DID_MEMORY_FUNC_TYPEDEFS define is not a constant, don't try to treat it like one Approved by: portmgr blanket --- www/p5-WWW-Curl/files/patch-Makefile.PL | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 www/p5-WWW-Curl/files/patch-Makefile.PL (limited to 'www/p5-WWW-Curl/files/patch-Makefile.PL') diff --git a/www/p5-WWW-Curl/files/patch-Makefile.PL b/www/p5-WWW-Curl/files/patch-Makefile.PL new file mode 100644 index 000000000000..5880cd5c45c0 --- /dev/null +++ b/www/p5-WWW-Curl/files/patch-Makefile.PL @@ -0,0 +1,10 @@ +--- Makefile.PL.orig 2014-02-21 16:08:09 UTC ++++ Makefile.PL +@@ -121,6 +121,7 @@ if (!defined($curl_h)) { + open (H, "<", $curl_h) or die ("Cannot open $curl_h: ".$!); + while() { + if (/^#define (CURL[A-Za-z0-9_]*)/) { ++ next if $1 eq 'CURL_DID_MEMORY_FUNC_TYPEDEFS'; + push @syms, $1; + } + } -- cgit v1.2.3