pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/p5-WWW-Curl p5-WWW-Curl: Fix a typo in patch-Makef...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/284ef546dc2e
branches:  trunk
changeset: 382093:284ef546dc2e
user:      leot <leot%pkgsrc.org@localhost>
date:      Fri Jun 22 08:26:41 2018 +0000

description:
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:

 www/p5-WWW-Curl/Makefile                  |  13 ++++++-------
 www/p5-WWW-Curl/distinfo                  |   4 ++--
 www/p5-WWW-Curl/patches/patch-Makefile.PL |   4 ++--
 3 files changed, 10 insertions(+), 11 deletions(-)

diffs (64 lines):

diff -r 426682d08b6e -r 284ef546dc2e www/p5-WWW-Curl/Makefile
--- a/www/p5-WWW-Curl/Makefile  Fri Jun 22 08:12:44 2018 +0000
+++ b/www/p5-WWW-Curl/Makefile  Fri Jun 22 08:26:41 2018 +0000
@@ -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 @@
 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 -r 426682d08b6e -r 284ef546dc2e www/p5-WWW-Curl/distinfo
--- a/www/p5-WWW-Curl/distinfo  Fri Jun 22 08:12:44 2018 +0000
+++ b/www/p5-WWW-Curl/distinfo  Fri Jun 22 08:26:41 2018 +0000
@@ -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 -r 426682d08b6e -r 284ef546dc2e www/p5-WWW-Curl/patches/patch-Makefile.PL
--- a/www/p5-WWW-Curl/patches/patch-Makefile.PL Fri Jun 22 08:12:44 2018 +0000
+++ b/www/p5-WWW-Curl/patches/patch-Makefile.PL Fri Jun 22 08:26:41 2018 +0000
@@ -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 @@
  
      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/^([^_]+_)/;



Home | Main Index | Thread Index | Old Index