]> git.pld-linux.org Git - packages/perl-Device-USB.git/blame - just-assume-libusb-is-there.patch
- apply build fixes from Debian
[packages/perl-Device-USB.git] / just-assume-libusb-is-there.patch
CommitLineData
ac078533
JR
1Subject: Just assume libusb is out there
2 Makefile.PL should not try to check for libusb in a given list of directories
3 as the compiler might look in other places as well.
4Origin: vendor
5Bug-Debian: http://bugs.debian.org/639677
6Forwarded: not-needed
7From: Ansgar Burchardt <ansgar@debian.org>
8Reviewed-by: gregor herrmann <gregoa@debian.org>
9Last-Update: 2013-10-28
10
11--- libdevice-usb-perl.orig/Makefile.PL
12+++ libdevice-usb-perl/Makefile.PL
13@@ -21,7 +21,7 @@
14 }
15 }
16
17-unless(header_found())
18+unless(1 || header_found())
19 {
20 die <<"END";
21 ERROR: Can't find usb.h header.
22@@ -36,7 +36,7 @@
23 END
24 }
25
26-unless(lib_found())
27+unless(1 || lib_found())
28 {
29 die <<"END";
30 ERROR: Can't find libusb library.
This page took 0.135652 seconds and 4 git commands to generate.