pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Devel-CheckLib



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Tue Apr 11 14:00:50 UTC 2017

Modified Files:
        pkgsrc/devel/p5-Devel-CheckLib: Makefile distinfo
Added Files:
        pkgsrc/devel/p5-Devel-CheckLib/patches: patch-lib_Devel_CheckLib.pm

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/p5-Devel-CheckLib/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/p5-Devel-CheckLib/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/p5-Devel-CheckLib/patches/patch-lib_Devel_CheckLib.pm

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/p5-Devel-CheckLib/Makefile
diff -u pkgsrc/devel/p5-Devel-CheckLib/Makefile:1.16 pkgsrc/devel/p5-Devel-CheckLib/Makefile:1.17
--- pkgsrc/devel/p5-Devel-CheckLib/Makefile:1.16        Sun Apr  9 03:30:05 2017
+++ pkgsrc/devel/p5-Devel-CheckLib/Makefile     Tue Apr 11 14:00:49 2017
@@ -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/}
 

Index: pkgsrc/devel/p5-Devel-CheckLib/distinfo
diff -u pkgsrc/devel/p5-Devel-CheckLib/distinfo:1.10 pkgsrc/devel/p5-Devel-CheckLib/distinfo:1.11
--- pkgsrc/devel/p5-Devel-CheckLib/distinfo:1.10        Sun Apr  9 03:30:05 2017
+++ pkgsrc/devel/p5-Devel-CheckLib/distinfo     Tue Apr 11 14:00:49 2017
@@ -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

Added files:

Index: pkgsrc/devel/p5-Devel-CheckLib/patches/patch-lib_Devel_CheckLib.pm
diff -u /dev/null pkgsrc/devel/p5-Devel-CheckLib/patches/patch-lib_Devel_CheckLib.pm:1.1
--- /dev/null   Tue Apr 11 14:00:50 2017
+++ pkgsrc/devel/p5-Devel-CheckLib/patches/patch-lib_Devel_CheckLib.pm  Tue Apr 11 14:00:50 2017
@@ -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