aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-Curl/files
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-06-06 12:23:07 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-06-06 12:23:07 +0000
commit01b17633231d1fb169107d46058cbfd0dfed67e0 (patch)
treef9f3b9c30fe6cd7afc69d46cfbbd9ca34a0f9931 /www/p5-WWW-Curl/files
parentd4233dc6f92d9b1a98c2e3fd42f85968ce89d12e (diff)
downloadports-01b17633231d1fb169107d46058cbfd0dfed67e0.tar.gz
ports-01b17633231d1fb169107d46058cbfd0dfed67e0.zip
- Fix build
CURL_DID_MEMORY_FUNC_TYPEDEFS define is not a constant, don't try to treat it like one Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=416456
Diffstat (limited to 'www/p5-WWW-Curl/files')
-rw-r--r--www/p5-WWW-Curl/files/patch-Makefile.PL10
1 files changed, 10 insertions, 0 deletions
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(<H>) {
+ if (/^#define (CURL[A-Za-z0-9_]*)/) {
++ next if $1 eq 'CURL_DID_MEMORY_FUNC_TYPEDEFS';
+ push @syms, $1;
+ }
+ }