110-just_assume_libusb_is_there.diff 712 B

123456789101112131415161718192021222324252627282930
  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. --- libdevice-usb-perl.orig/Makefile.PL
  11. +++ libdevice-usb-perl/Makefile.PL
  12. @@ -21,7 +21,7 @@
  13. }
  14. }
  15. -unless(header_found())
  16. +unless(1 || header_found())
  17. {
  18. die <<"END";
  19. ERROR: Can't find usb.h header.
  20. @@ -36,7 +36,7 @@
  21. END
  22. }
  23. -unless(lib_found())
  24. +unless(1 || lib_found())
  25. {
  26. die <<"END";
  27. ERROR: Can't find libusb library.