pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Devel-CheckLib Revert the 1.10 change that st...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75bf25f6f89e
branches:  trunk
changeset: 360941:75bf25f6f89e
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Apr 11 14:00:49 2017 +0000

description:
Revert the 1.10 change that strips -Wl,-rpath from ldflags, breaking
library discovery. Reported upstream in
https://github.com/mattn/p5-Devel-CheckLib/issues/23.
Bump PKGREVISION.

diffstat:

 devel/p5-Devel-CheckLib/Makefile                            |   3 +-
 devel/p5-Devel-CheckLib/distinfo                            |   3 +-
 devel/p5-Devel-CheckLib/patches/patch-lib_Devel_CheckLib.pm |  15 +++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 886290aef0b7 -r 75bf25f6f89e devel/p5-Devel-CheckLib/Makefile
--- a/devel/p5-Devel-CheckLib/Makefile  Tue Apr 11 13:48:45 2017 +0000
+++ b/devel/p5-Devel-CheckLib/Makefile  Tue Apr 11 14:00:49 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2017/04/09 03:30:05 mef Exp $
+# $NetBSD: Makefile,v 1.17 2017/04/11 14:00:49 schmonz Exp $
 
 DISTNAME=      Devel-CheckLib-1.10
 PKGNAME=       p5-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Devel/}
 
diff -r 886290aef0b7 -r 75bf25f6f89e devel/p5-Devel-CheckLib/distinfo
--- a/devel/p5-Devel-CheckLib/distinfo  Tue Apr 11 13:48:45 2017 +0000
+++ b/devel/p5-Devel-CheckLib/distinfo  Tue Apr 11 14:00:49 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2017/04/09 03:30:05 mef Exp $
+$NetBSD: distinfo,v 1.11 2017/04/11 14:00:49 schmonz Exp $
 
 SHA1 (Devel-CheckLib-1.10.tar.gz) = de37358d43ababbabd5e795288c68d32016aa163
 RMD160 (Devel-CheckLib-1.10.tar.gz) = eaae400c660090565b822123128cae897218326b
 SHA512 (Devel-CheckLib-1.10.tar.gz) = aab565df0b31a08b2dff3fb777bc208ff9b8322d9012fb2deaa5d27411e4915cdd2e48cd65eb55323c69f23975e08cee8cfa4a8221a4b2e39770bdeecfe3f127
 Size (Devel-CheckLib-1.10.tar.gz) = 15158 bytes
+SHA1 (patch-lib_Devel_CheckLib.pm) = a7b41aed665331352c51b4cc3f8c4e9e9fc4f4a6
diff -r 886290aef0b7 -r 75bf25f6f89e devel/p5-Devel-CheckLib/patches/patch-lib_Devel_CheckLib.pm
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-CheckLib/patches/patch-lib_Devel_CheckLib.pm       Tue Apr 11 14:00:49 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_Devel_CheckLib.pm,v 1.1 2017/04/11 14:00:50 schmonz Exp $
+
+Fix regression reported in https://github.com/mattn/p5-Devel-CheckLib/issues/23.
+
+--- lib/Devel/CheckLib.pm.orig 2017-04-07 15:34:43.000000000 +0000
++++ lib/Devel/CheckLib.pm
+@@ -473,7 +473,7 @@ sub _findcc {
+         push @Config_ldflags, $config_val if ( $config_val =~ /\S/ );
+     }
+     my @ccflags = grep { length } quotewords('\s+', 1, $Config_ccflags||'', $user_ccflags||'');
+-    my @ldflags = grep { length && $_ !~ m/^-Wl/ } quotewords('\s+', 1, @Config_ldflags, $user_ldflags||'');
++    my @ldflags = grep { length } quotewords('\s+', 1, @Config_ldflags, $user_ldflags||'');
+     my @paths = split(/$Config{path_sep}/, $ENV{PATH});
+     my @cc = split(/\s+/, $Config{cc});
+     if (check_compiler ($cc[0], $debug)) {



Home | Main Index | Thread Index | Old Index