summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2018-06-22 08:26:41 +0000
committerleot <leot@pkgsrc.org>2018-06-22 08:26:41 +0000
commit846f0f2a8483bf0a91a3ac7d491d217f2b41431e (patch)
tree617579b664ce6daadc2b257eef31e9caf8e45feb /www
parent38f49a03721e4c7ad4b8453c847c6367faeed10a (diff)
downloadpkgsrc-846f0f2a8483bf0a91a3ac7d491d217f2b41431e.tar.gz
p5-WWW-Curl: Fix a typo in patch-Makefile.PL and misc cleanups
- patch-Makefile.PL contained an extra `|' that leads to not exposing several CURLOPT symbols as reported by Graham Jenkins via PR pkg/53388. - Cleanup a bit the Makefile and do append extra CFLAGS Bump PKGREVISION
Diffstat (limited to 'www')
-rw-r--r--www/p5-WWW-Curl/Makefile13
-rw-r--r--www/p5-WWW-Curl/distinfo4
-rw-r--r--www/p5-WWW-Curl/patches/patch-Makefile.PL4
3 files changed, 10 insertions, 11 deletions
diff --git a/www/p5-WWW-Curl/Makefile b/www/p5-WWW-Curl/Makefile
index bd74f2653d0..a622e253393 100644
--- a/www/p5-WWW-Curl/Makefile
+++ b/www/p5-WWW-Curl/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.44 2018/04/29 21:32:07 adam Exp $
+# $NetBSD: Makefile,v 1.45 2018/06/22 08:26:41 leot Exp $
DISTNAME= WWW-Curl-4.17
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 10
+PKGREVISION= 11
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=WWW/}
@@ -12,14 +12,13 @@ COMMENT= Perl binding interface for curl
LICENSE= mit
BUILDLINK_API_DEPENDS.curl+= curl>=7.10.8
-CFLAGS= -Wall -Werror -Wreturn-type
+CFLAGS+= -Wall -Werror -Wreturn-type
-MAKE_ENV+= PERL_USE_UNSAFE_INC=1
-PERL5_PACKLIST= auto/WWW/Curl/.packlist
+MAKE_ENV+= PERL_USE_UNSAFE_INC=1
+PERL5_PACKLIST= auto/WWW/Curl/.packlist
PERL5_MODULE_TYPE= Module::Install::Bundled
-# for make test (t/meta.t . skipped: .... for testing META.yml)
-BUILD_DEPENDS+= p5-Test-CPAN-Meta-[0-9]*:../../devel/p5-Test-CPAN-Meta
+TEST_DEPENDS+= p5-Test-CPAN-Meta-[0-9]*:../../devel/p5-Test-CPAN-Meta
.include "../../www/curl/buildlink3.mk"
.include "../../lang/perl5/module.mk"
diff --git a/www/p5-WWW-Curl/distinfo b/www/p5-WWW-Curl/distinfo
index bcf766a8e46..a531868e109 100644
--- a/www/p5-WWW-Curl/distinfo
+++ b/www/p5-WWW-Curl/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.18 2016/11/20 09:51:50 wiz Exp $
+$NetBSD: distinfo,v 1.19 2018/06/22 08:26:41 leot Exp $
SHA1 (WWW-Curl-4.17.tar.gz) = 8ec7b7b39bd653539671fb02fbb7d0ff4863e636
RMD160 (WWW-Curl-4.17.tar.gz) = 786b6e0461051eae67bdcded046095895ea2a6a2
SHA512 (WWW-Curl-4.17.tar.gz) = bc7a75d0e23f5a77578fd7244b56a1e1b81d814993b90ac7132926f0d571232c4c95875bc615cb6239e424ae1d5481d27796efc5376bb0845d1da0ff1137c0d6
Size (WWW-Curl-4.17.tar.gz) = 50917 bytes
-SHA1 (patch-Makefile.PL) = 6b7a1fbfce0d7007e769c71dc947d1f348b3b334
+SHA1 (patch-Makefile.PL) = 11eec9800a018314077d462f77170a4e9631b67d
diff --git a/www/p5-WWW-Curl/patches/patch-Makefile.PL b/www/p5-WWW-Curl/patches/patch-Makefile.PL
index 42f2605570a..989d94ea571 100644
--- a/www/p5-WWW-Curl/patches/patch-Makefile.PL
+++ b/www/p5-WWW-Curl/patches/patch-Makefile.PL
@@ -1,4 +1,4 @@
-$NetBSD: patch-Makefile.PL,v 1.2 2016/11/20 09:51:50 wiz Exp $
+$NetBSD: patch-Makefile.PL,v 1.3 2018/06/22 08:26:41 leot Exp $
Build fix for curl-7.50.2.
https://rt.cpan.org/Public/Bug/Display.html?id=117793
@@ -10,7 +10,7 @@ https://rt.cpan.org/Public/Bug/Display.html?id=117793
for my $e (sort @syms) {
- if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
-+ if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z||_LAST\z|_LASTENTRY\z)/) {
++ if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/) {
next;
}
my ($group) = $e =~ m/^([^_]+_)/;