r28811 - in /branches/upstream/libextutils-depends-perl/current: Changes MANIFEST META.yml Makefile.PL lib/ExtUtils/Depends.pm t/inc/DepTest/DepTest.dll

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Sun Dec 28 10:12:34 UTC 2008


Author: ryan52-guest
Date: Sun Dec 28 10:12:31 2008
New Revision: 28811

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=28811
Log:
[svn-upgrade] Integrating new upstream version, libextutils-depends-perl (0.301)

Added:
    branches/upstream/libextutils-depends-perl/current/t/inc/DepTest/DepTest.dll
Modified:
    branches/upstream/libextutils-depends-perl/current/Changes
    branches/upstream/libextutils-depends-perl/current/MANIFEST
    branches/upstream/libextutils-depends-perl/current/META.yml
    branches/upstream/libextutils-depends-perl/current/Makefile.PL
    branches/upstream/libextutils-depends-perl/current/lib/ExtUtils/Depends.pm

Modified: branches/upstream/libextutils-depends-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-depends-perl/current/Changes?rev=28811&op=diff
==============================================================================
--- branches/upstream/libextutils-depends-perl/current/Changes (original)
+++ branches/upstream/libextutils-depends-perl/current/Changes Sun Dec 28 10:12:31 2008
@@ -1,4 +1,9 @@
 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

Modified: branches/upstream/libextutils-depends-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-depends-perl/current/MANIFEST?rev=28811&op=diff
==============================================================================
--- branches/upstream/libextutils-depends-perl/current/MANIFEST (original)
+++ branches/upstream/libextutils-depends-perl/current/MANIFEST Sun Dec 28 10:12:31 2008
@@ -10,6 +10,7 @@
 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

Modified: branches/upstream/libextutils-depends-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-depends-perl/current/META.yml?rev=28811&op=diff
==============================================================================
--- branches/upstream/libextutils-depends-perl/current/META.yml (original)
+++ branches/upstream/libextutils-depends-perl/current/META.yml Sun Dec 28 10:12:31 2008
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:                ExtUtils-Depends
-version:             0.300
+version:             0.301
 abstract:            ~
 license:             ~
 author:              ~

Modified: branches/upstream/libextutils-depends-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-depends-perl/current/Makefile.PL?rev=28811&op=diff
==============================================================================
--- branches/upstream/libextutils-depends-perl/current/Makefile.PL (original)
+++ branches/upstream/libextutils-depends-perl/current/Makefile.PL Sun Dec 28 10:12:31 2008
@@ -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(

Modified: branches/upstream/libextutils-depends-perl/current/lib/ExtUtils/Depends.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-depends-perl/current/lib/ExtUtils/Depends.pm?rev=28811&op=diff
==============================================================================
--- branches/upstream/libextutils-depends-perl/current/lib/ExtUtils/Depends.pm (original)
+++ branches/upstream/libextutils-depends-perl/current/lib/ExtUtils/Depends.pm Sun Dec 28 10:12:31 2008
@@ -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::Spec;
 use Data::Dumper;
 
-our $VERSION = '0.300';
+our $VERSION = '0.301';
 
 sub import {
 	my $class = shift;
@@ -302,7 +302,7 @@
 
 	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 @@
 		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;
 		}
 	}

Added: branches/upstream/libextutils-depends-perl/current/t/inc/DepTest/DepTest.dll
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-depends-perl/current/t/inc/DepTest/DepTest.dll?rev=28811&op=file
==============================================================================
    (empty)




More information about the Pkg-perl-cvs-commits mailing list