mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
www/p5-WWW-Curl: Fix build with curl 7.87.0 (latest version)
- Bump PORTREVISION for package change
This commit is contained in:
parent
6b3e772498
commit
8a8f565d84
@ -1,6 +1,6 @@
|
||||
PORTNAME= WWW-Curl
|
||||
PORTVERSION= 4.17
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= www ftp perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
@ -1,20 +1,23 @@
|
||||
--- Makefile.PL.orig 2014-02-21 08:08:09.000000000 -0800
|
||||
+++ Makefile.PL 2020-04-20 15:36:35.008798000 -0700
|
||||
@@ -100,6 +100,13 @@
|
||||
--- Makefile.PL.orig 2014-02-21 16:08:09 UTC
|
||||
+++ Makefile.PL
|
||||
@@ -100,6 +100,16 @@ if (!defined($curl_h)) {
|
||||
print "Found curl.h in $curl_h\n";
|
||||
my @syms;
|
||||
my $has_cpp = 0;
|
||||
+ my @skiplist = qw/
|
||||
+ CURL_DEPRECATED
|
||||
+ CURL_DID_MEMORY_FUNC_TYPEDEFS
|
||||
+ CURL_IGNORE_DEPRECATION
|
||||
+ CURL_STRICTER
|
||||
+ CURLINC_CURL_H
|
||||
+ CURL_WIN32
|
||||
+ CURLINC_CURL_H
|
||||
+ CURLOPT
|
||||
+ CURLOPTDEPRECATED
|
||||
+ /;
|
||||
open(H_IN, "-|", "cpp", $curl_h) and $has_cpp++;
|
||||
unless ($has_cpp) {
|
||||
warn "No working cpp ($!). Parsing curl.h in Perl";
|
||||
@@ -121,6 +128,7 @@
|
||||
@@ -121,6 +131,7 @@ if (!defined($curl_h)) {
|
||||
open (H, "<", $curl_h) or die ("Cannot open $curl_h: ".$!);
|
||||
while(<H>) {
|
||||
if (/^#define (CURL[A-Za-z0-9_]*)/) {
|
||||
|
Loading…
Reference in New Issue
Block a user