mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
- Fix build
CURL_DID_MEMORY_FUNC_TYPEDEFS define is not a constant, don't try to treat it like one Approved by: portmgr blanket
This commit is contained in:
parent
d4233dc6f9
commit
01b1763323
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416456
10
www/p5-WWW-Curl/files/patch-Makefile.PL
Normal file
10
www/p5-WWW-Curl/files/patch-Makefile.PL
Normal file
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user