Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2019 18:14:58 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512931 - in head/www/p5-WWW-Curl: . files
Message-ID:  <201909261814.x8QIEwED048561@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
          }
      }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909261814.x8QIEwED048561>