mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 12:34:35 +04:00
treewide: move all perl packages into its own folder
This makes it in sync with Python packages. Python packages has its own place in /lang/python Perl does not, so this fixes it. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
20
lang/perl/perl-device-usb/patches/100-fix_buildsystem.patch
Normal file
20
lang/perl/perl-device-usb/patches/100-fix_buildsystem.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
Description: Ignore files we do not want installed.
|
||||
Forwarded: not-needed
|
||||
Author: Tim Retout <diocles@debian.org>
|
||||
Reviewed-by: gregor herrmann <gregoa@debian.org>
|
||||
Last-Update: 2013-10-28
|
||||
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -2,6 +2,11 @@ use strict;
|
||||
use warnings;
|
||||
use Inline::MakeMaker;
|
||||
|
||||
+sub MY::libscan {
|
||||
+ return if ($_[1] eq 'USB.pm' or $_[1] eq 'dump_usb.pl');
|
||||
+ return $_[1];
|
||||
+}
|
||||
+
|
||||
if($^O eq 'MSWin32')
|
||||
{
|
||||
if(!$ENV{LIBUSB_LIBDIR} or !$ENV{LIBUSB_INCDIR})
|
||||
Reference in New Issue
Block a user