r37264 - in /trunk/libnet-ssh2-perl/debian: changelog control patches/ patches/fix-build patches/series rules
ryan52-guest at users.alioth.debian.org
ryan52-guest at users.alioth.debian.org
Mon Jun 1 23:56:55 UTC 2009
Author: ryan52-guest
Date: Mon Jun 1 23:56:50 2009
New Revision: 37264
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=37264
Log:
add a quilt patch to fix the build
Added:
trunk/libnet-ssh2-perl/debian/patches/
trunk/libnet-ssh2-perl/debian/patches/fix-build
trunk/libnet-ssh2-perl/debian/patches/series
Modified:
trunk/libnet-ssh2-perl/debian/changelog
trunk/libnet-ssh2-perl/debian/control
trunk/libnet-ssh2-perl/debian/rules
Modified: trunk/libnet-ssh2-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-ssh2-perl/debian/changelog?rev=37264&op=diff
==============================================================================
--- trunk/libnet-ssh2-perl/debian/changelog (original)
+++ trunk/libnet-ssh2-perl/debian/changelog Mon Jun 1 23:56:50 2009
@@ -4,8 +4,9 @@
* New upstream release
* update copyright
+ * add a quilt patch to fix the build
- -- Ryan Niebur <ryanryan52 at gmail.com> Sun, 31 May 2009 22:34:55 -0700
+ -- Ryan Niebur <ryanryan52 at gmail.com> Mon, 01 Jun 2009 16:56:35 -0700
libnet-ssh2-perl (0.19-1) unstable; urgency=low
Modified: trunk/libnet-ssh2-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-ssh2-perl/debian/control?rev=37264&op=diff
==============================================================================
--- trunk/libnet-ssh2-perl/debian/control (original)
+++ trunk/libnet-ssh2-perl/debian/control Mon Jun 1 23:56:50 2009
@@ -1,7 +1,7 @@
Source: libnet-ssh2-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 7), perl (>= 5.6.0-12), libssh2-1-dev
+Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7), libssh2-1-dev
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Ryan Niebur <ryanryan52 at gmail.com>
Standards-Version: 3.8.1
Added: trunk/libnet-ssh2-perl/debian/patches/fix-build
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-ssh2-perl/debian/patches/fix-build?rev=37264&op=file
==============================================================================
--- trunk/libnet-ssh2-perl/debian/patches/fix-build (added)
+++ trunk/libnet-ssh2-perl/debian/patches/fix-build Mon Jun 1 23:56:50 2009
@@ -1,0 +1,26 @@
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -37,21 +37,12 @@
+
+ checklibs
+ lib => 'ssh2',
+- header => 'libssh2.h',
+- libpath => [@search_libs, $lib],
+- incpath => [@search_incs, $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.";
+ makemaker_args @define;
+ WriteAll;
+
Added: trunk/libnet-ssh2-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-ssh2-perl/debian/patches/series?rev=37264&op=file
==============================================================================
--- trunk/libnet-ssh2-perl/debian/patches/series (added)
+++ trunk/libnet-ssh2-perl/debian/patches/series Mon Jun 1 23:56:50 2009
@@ -1,0 +1,1 @@
+fix-build
Modified: trunk/libnet-ssh2-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-ssh2-perl/debian/rules?rev=37264&op=diff
==============================================================================
--- trunk/libnet-ssh2-perl/debian/rules (original)
+++ trunk/libnet-ssh2-perl/debian/rules Mon Jun 1 23:56:50 2009
@@ -1,23 +1,4 @@
#!/usr/bin/make -f
-build: build-stamp
-build-stamp:
- dh build
- touch $@
-
-clean:
- dh $@
-
-install: install-stamp
-install-stamp: build-stamp
- dh install
- touch $@
-
-binary-arch: install
- dh $@
-
-binary-indep:
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
+%:
+ dh --with quilt $@
More information about the Pkg-perl-cvs-commits
mailing list