svn commit: r512931 - in head/www/p5-WWW-Curl: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Sep 26 18:14:59 UTC 2019
Author: sunpoet
Date: Thu Sep 26 18:14:58 2019
New Revision: 512931
URL: https://svnweb.freebsd.org/changeset/ports/512931
Log:
Fix build with curl 7.66.0 and unbreak this port
Modified:
head/www/p5-WWW-Curl/Makefile
head/www/p5-WWW-Curl/files/patch-Makefile.PL
Modified: head/www/p5-WWW-Curl/Makefile
==============================================================================
--- head/www/p5-WWW-Curl/Makefile Thu Sep 26 18:14:52 2019 (r512930)
+++ head/www/p5-WWW-Curl/Makefile Thu Sep 26 18:14:58 2019 (r512931)
@@ -14,8 +14,6 @@ COMMENT= Perl extension interface for libcurl
LICENSE= MIT
-BROKEN= non-void function 'constant' should return a value
-
LIB_DEPENDS= libcurl.so:ftp/curl
TEST_DEPENDS= p5-Test-CPAN-Meta>=0:devel/p5-Test-CPAN-Meta \
p5-Test-Pod>=1.14:devel/p5-Test-Pod \
Modified: head/www/p5-WWW-Curl/files/patch-Makefile.PL
==============================================================================
--- head/www/p5-WWW-Curl/files/patch-Makefile.PL Thu Sep 26 18:14:52 2019 (r512930)
+++ head/www/p5-WWW-Curl/files/patch-Makefile.PL Thu Sep 26 18:14:58 2019 (r512931)
@@ -4,7 +4,7 @@
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' || $1 eq 'CURL_STRICTER' );
++ next if ($1 eq 'CURL_DID_MEMORY_FUNC_TYPEDEFS' || $1 eq 'CURL_STRICTER' || $1 eq 'CURLINC_CURL_H' );
push @syms, $1;
}
}
More information about the svn-ports-head
mailing list