mirror of
https://github.com/openwrt/packages.git
synced 2026-01-09 19:31:21 +00:00
perl-device-usb: New package
Signed-off-by: Marcel Denia <naoir@gmx.net>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
Subject: Just assume libusb is out there
|
||||
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.
|
||||
Origin: vendor
|
||||
Bug-Debian: http://bugs.debian.org/639677
|
||||
Forwarded: not-needed
|
||||
From: Ansgar Burchardt <ansgar@debian.org>
|
||||
Reviewed-by: gregor herrmann <gregoa@debian.org>
|
||||
Last-Update: 2013-10-28
|
||||
|
||||
--- 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.
|
||||
Reference in New Issue
Block a user