16 lines
453 B
Plaintext
16 lines
453 B
Plaintext
$OpenBSD: patch-Makefile_PL,v 1.2 2010/01/11 08:24:35 jasper Exp $
|
|
--- Makefile.PL.orig Mon Jan 11 09:22:50 2010
|
|
+++ Makefile.PL Mon Jan 11 09:23:21 2010
|
|
@@ -78,10 +78,5 @@ sub header_found
|
|
|
|
sub lib_found
|
|
{
|
|
- foreach my $dir (qw(/usr/lib /usr/local/lib), $ENV{LIBUSB_LIBDIR})
|
|
- {
|
|
- return 1 if defined $dir && ($^O =~ /win/i ? (-e "$dir/libusb.lib" || -e "$dir/libusb.a") : -e "$dir/libusb.so") ;
|
|
- }
|
|
-
|
|
- return;
|
|
+ return 1;
|
|
}
|