You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
710 B

  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. --- a/Makefile.PL
  11. +++ b/Makefile.PL
  12. @@ -21,7 +21,7 @@ END
  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 @@ following environment variables:
  21. END
  22. }
  23. -unless(lib_found())
  24. +unless(1 || lib_found())
  25. {
  26. die <<"END";
  27. ERROR: Can't find libusb library.