110-just_assume_libusb_is_there.diff (712B)
1 Subject: 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. 4 Origin: vendor 5 Bug-Debian: http://bugs.debian.org/639677 6 Forwarded: not-needed 7 From: Ansgar Burchardt <ansgar@debian.org> 8 Reviewed-by: gregor herrmann <gregoa@debian.org> 9 Last-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.