First Commit
[librecmc/package-feed.git] / lang / perl-device-usb / patches / 100-fix_buildsystem.patch
1 Description: Ignore files we do not want installed.
2 Forwarded: not-needed
3 Author: Tim Retout <diocles@debian.org>
4 Reviewed-by: gregor herrmann <gregoa@debian.org>
5 Last-Update: 2013-10-28
6
7 --- a/Makefile.PL
8 +++ b/Makefile.PL
9 @@ -2,6 +2,11 @@
10  use warnings;
11  use Inline::MakeMaker;
12  
13 +sub MY::libscan {
14 +       return if ($_[1] eq 'USB.pm' or $_[1] eq 'dump_usb.pl');
15 +       return $_[1];
16 +}
17 +
18  if($^O eq 'MSWin32')
19  {
20      if(!$ENV{LIBUSB_LIBDIR} or !$ENV{LIBUSB_INCDIR})