File: use-local-module-install-directory

package info (click to toggle)
libwww-search-perl 2.51.80-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,748 kB
  • sloc: perl: 10,997; sh: 127; makefile: 16
file content (43 lines) | stat: -rw-r--r-- 919 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Description: Ensure dot directory is in @INC
 Ensure local librarires are found in '.' in Perl 5.26+
Author: Nick Morrott <knowledgejunkie@gmail.com>
Forwarded: no
Last-Update: 2018-11-25
---
--- a/lycos/Makefile.PL
+++ b/lycos/Makefile.PL
@@ -1,6 +1,7 @@
 
 # $Id: Makefile.PL,v 1.10 2008/12/15 22:47:34 Martin Exp $
 
+use lib '.';
 use inc::Module::Install;
 
 all_from('lib/WWW/Search/Lycos.pm');
--- a/altavista/Makefile.PL
+++ b/altavista/Makefile.PL
@@ -1,5 +1,6 @@
 # $Id: Makefile.PL,v 1.19 2008/11/28 17:56:47 Martin Exp $
 
+use lib '.';
 use inc::Module::Install;
 
 all_from('lib/WWW/Search/AltaVista.pm');
--- a/ebay/Makefile.PL
+++ b/ebay/Makefile.PL
@@ -2,6 +2,7 @@
 use warnings;
 use strict;
 
+use lib '.';
 use inc::Module::Install;
 
 version(3.052);
--- a/yahoo/Makefile.PL
+++ b/yahoo/Makefile.PL
@@ -1,4 +1,5 @@
 
+use lib '.';
 use inc::Module::Install;
 
 all_from('lib/WWW/Search/Yahoo.pm');