[SCM] Debian packaging of libnet-ssh2-perl branch, master, updated. debian/0.40-1-11-g4af8731

Salvatore Bonaccorso carnil at debian.org
Fri Apr 20 21:31:14 UTC 2012


The following commit has been merged in the master branch:
commit 85c058475ba2eca17ef288844770eefda3ed539a
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Fri Apr 20 23:00:57 2012 +0200

    Update fix-build patch

diff --git a/debian/patches/fix-build b/debian/patches/fix-build
index 5b84f56..300c538 100644
--- a/debian/patches/fix-build
+++ b/debian/patches/fix-build
@@ -5,28 +5,12 @@ Author: Ryan Niebur <ryanryan52 at gmail.com>
 Last-Update: 2010-04-15
 --- a/Makefile.PL
 +++ b/Makefile.PL
-@@ -50,22 +50,12 @@
- 
- checklibs
-     lib => 'ssh2',
--    header => 'libssh2.h',
--    libpath => [@search_libs, $lib ? $lib : ()],
--    incpath => [@search_incs, $inc ? $inc : ()],
--;
-+    header => 'libssh2.h';
- 
--if (!$lib && !$inc) {
--    $lib = (join ' ', map "-L$_", @search_libs) . " -lssh2 $extra_libs";
--    $inc =  join ' ', map "-I$_", @search_incs;
--} else {
--    $lib = "-L$lib -lssh2 $extra_libs" if $lib;
--    $inc = "-I$inc" if $inc;
--}
-+my $lib = '-lssh2 $extra_libs';
- 
- auto_provides;
- libs $lib;
--inc "$inc -I.";
- realclean_files qw/const-c.inc const-xs.inc/;
- makemaker_args @define;
+@@ -6,7 +6,7 @@
+ # override library and include directories here if desired
+ my $lib = '';
+ my $inc = '';
+-my $extra_libs = '-lz -lssl -lcrypto';
++my $extra_libs = '-lssl -lcrypto';
  
+ for (@ARGV) {
+     /^inc=(.*)/ and $inc = $1;

-- 
Debian packaging of libnet-ssh2-perl



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