mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
www/p5-WWW-Curl: Fix build on current
PR: 286207 Reported by: David Wolfskill <david@catwhisker.org> Approved by: sunpoet (maintainer) Obtained from: Stewart Morgan <stewart+FreeBSD-BugZilla@arnos-vale.net> Sponsored by: Netflix
This commit is contained in:
parent
b635b2d81e
commit
1925bda830
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
--- Makefile.PL.orig 2014-02-21 16:08:09 UTC
|
||||
+++ Makefile.PL
|
||||
@@ -100,6 +100,16 @@ if (!defined($curl_h)) {
|
||||
@@ -100,6 +100,17 @@ if (!defined($curl_h)) {
|
||||
print "Found curl.h in $curl_h\n";
|
||||
my @syms;
|
||||
my $has_cpp = 0;
|
||||
|
@ -8,6 +8,7 @@
|
|||
+ CURL_DEPRECATED
|
||||
+ CURL_DID_MEMORY_FUNC_TYPEDEFS
|
||||
+ CURL_IGNORE_DEPRECATION
|
||||
+ CURL_HAS_DECLSPEC_ATTRIBUTE
|
||||
+ CURL_STRICTER
|
||||
+ CURL_WIN32
|
||||
+ CURLINC_CURL_H
|
||||
|
@ -17,7 +18,7 @@
|
|||
open(H_IN, "-|", "cpp", $curl_h) and $has_cpp++;
|
||||
unless ($has_cpp) {
|
||||
warn "No working cpp ($!). Parsing curl.h in Perl";
|
||||
@@ -121,6 +131,7 @@ if (!defined($curl_h)) {
|
||||
@@ -121,6 +132,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…
Add table
Reference in a new issue