[SCM] Debian packaging of libdevice-usb-perl branch, master, updated. ff80d528b2ee140bfb204e5fdbca68c981952ea9

Ansgar Burchardt ansgar at debian.org
Mon Aug 29 11:43:36 UTC 2011


The following commit has been merged in the master branch:
commit 4f87c056ec17df18396a69d851a89f30740257da
Author: Ansgar Burchardt <ansgar at debian.org>
Date:   Mon Aug 29 13:40:53 2011 +0200

    Patch Makefile.PL to not check for libusb.
    
    Bug-Debian: http://bugs.debian.org/639677

diff --git a/debian/patches/just-assume-libusb-is-there.diff b/debian/patches/just-assume-libusb-is-there.diff
new file mode 100644
index 0000000..0858fe6
--- /dev/null
+++ b/debian/patches/just-assume-libusb-is-there.diff
@@ -0,0 +1,27 @@
+From: Ansgar Burchardt <ansgar at debian.org>
+Date: Mon, 29 Aug 2011 13:31:54 +0200
+Subject: Just assume libusb is out there
+Bug-Debian: http://bugs.debian.org/639677
+
+Makefile.PL should not try to check for libusb in a given list of directories
+as the compiler might look in other places as well.
+--- libdevice-usb-perl.orig/Makefile.PL
++++ libdevice-usb-perl/Makefile.PL
+@@ -21,7 +21,7 @@
+     }
+ }
+ 
+-unless(header_found())
++unless(1 || header_found())
+ {
+     die <<"END";
+ ERROR: Can't find usb.h header.
+@@ -36,7 +36,7 @@
+ END
+ }
+ 
+-unless(lib_found())
++unless(1 || lib_found())
+ {
+     die <<"END";
+ ERROR: Can't find libusb library.
diff --git a/debian/patches/series b/debian/patches/series
index e85b10e..2cd1646 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 disable-tests
 fix-typo
 fix-buildsystem
+just-assume-libusb-is-there.diff

-- 
Debian packaging of libdevice-usb-perl



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