[Reproducible-commits] [libextutils-depends-perl] 53/187: [svn-upgrade] Integrating new upstream version, libextutils-depends-perl (0.301)
Maria Valentina Marin Rodrigues
akira-guest at moszumanska.debian.org
Wed Jan 21 21:16:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
akira-guest pushed a commit to branch pu/reproducible_builds
in repository libextutils-depends-perl.
commit 97f0044e7d33e092cece4493c65d72326672e20d
Author: Ryan Niebur <ryan at debian.org>
Date: Sun Dec 28 10:12:31 2008 +0000
[svn-upgrade] Integrating new upstream version, libextutils-depends-perl (0.301)
---
Changes | 5 +++++
MANIFEST | 1 +
META.yml | 2 +-
Makefile.PL | 5 +++++
lib/ExtUtils/Depends.pm | 10 ++++++----
t/inc/DepTest/DepTest.dll | 0
6 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/Changes b/Changes
index e4c4f72..522ad41 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
Revision history for Perl extension ExtUtils::Depends.
+0.301 Sat Sep 6 20:11:01 CEST 2008
+ - On Cygwin, link directly against the DLLs of dependencies. Patch by
+ Yaakov.
+ - Require perl 5.6.0.
+
0.300 Sun Mar 30 17:35:35 CEST 2008
- On MSWin32 and cygwin, find the link libraries of dependencies and
put them into LIBS.
diff --git a/MANIFEST b/MANIFEST
index 47a4bf7..1130473 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -10,6 +10,7 @@ t/01_load.t
t/02_save_load.t
t/03_deps.t
t/04_extra_libs.t
+t/inc/DepTest/DepTest.dll
t/inc/DepTest/DepTest.lib
t/inc/DepTest/Install/.keep
t/inc/DepTest/libDepTest.dll.a
diff --git a/META.yml b/META.yml
index 13ac912..123cca2 100644
--- a/META.yml
+++ b/META.yml
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: ExtUtils-Depends
-version: 0.300
+version: 0.301
abstract: ~
license: ~
author: ~
diff --git a/Makefile.PL b/Makefile.PL
index 6770e10..ce5d4f5 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,3 +1,8 @@
+#!/usr/bin/perl
+
+# We require 5.6 for sanity in general, and for 'our' in particular.
+use 5.006;
+
use ExtUtils::MakeMaker;
WriteMakefile(
diff --git a/lib/ExtUtils/Depends.pm b/lib/ExtUtils/Depends.pm
index a2cea31..54e9501 100644
--- a/lib/ExtUtils/Depends.pm
+++ b/lib/ExtUtils/Depends.pm
@@ -1,5 +1,5 @@
#
-# $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/ExtUtils-Depends/lib/ExtUtils/Depends.pm,v 1.18 2008/03/30 15:36:23 kaffeetisch Exp $
+# $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/ExtUtils-Depends/lib/ExtUtils/Depends.pm,v 1.20 2008/09/06 18:13:47 kaffeetisch Exp $
#
package ExtUtils::Depends;
@@ -11,7 +11,7 @@ use File::Find;
use File::Spec;
use Data::Dumper;
-our $VERSION = '0.300';
+our $VERSION = '0.301';
sub import {
my $class = shift;
@@ -302,7 +302,7 @@ sub find_extra_libs {
my %mappers = (
MSWin32 => sub { $_[0] . '.lib' },
- cygwin => sub { 'lib' . $_[0] . '.dll.a'},
+ cygwin => sub { $_[0] . '.dll'},
);
my $mapper = $mappers{$^O};
return () unless defined $mapper;
@@ -313,15 +313,17 @@ sub find_extra_libs {
my $lib = $mapper->($stem);
my $pattern = qr/$lib$/;
+ my $matching_dir;
my $matching_file;
find (sub {
if ((not $matching_file) && /$pattern/) {;
+ $matching_dir = $File::Find::dir;
$matching_file = $File::Find::name;
}
}, map { -d $_ ? ($_) : () } @INC); # only extant dirs
if ($matching_file && -f $matching_file) {
- push @found_libs, $matching_file;
+ push @found_libs, ('-L' . $matching_dir, '-l' . $stem);
next;
}
}
diff --git a/t/inc/DepTest/DepTest.dll b/t/inc/DepTest/DepTest.dll
new file mode 100644
index 0000000..e69de29
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/libextutils-depends-perl.git
More information about the Reproducible-commits
mailing list