summaryrefslogtreecommitdiff
path: root/textproc/p5-Pod-Parser/files/patch-use-ports-File-Spec
blob: 24a70d8463f14ffdbe61d4fa64a8069156b5eded (plain) (blame)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
diff -ur ../PodParser-1.18-clean/lib/Pod/Find.pm ./lib/Pod/Find.pm
--- ../PodParser-1.18-clean/lib/Pod/Find.pm	Fri Sep  1 08:11:39 2000
+++ ./lib/Pod/Find.pm	Sun Jun 16 12:55:40 2002
@@ -48,7 +48,13 @@
 use strict;
 #use diagnostics;
 use Exporter;
+
+# Added by FreeBSD ports to make sure newer version of File::Spec is used
+use Config;
+use lib $Config{installsitelib}; # installsitearch will be added automatically
+
 use File::Spec;
+
 use File::Find;
 use Cwd;
 
diff -ur ../PodParser-1.18-clean/lib/Pod/Usage.pm ./lib/Pod/Usage.pm
--- ../PodParser-1.18-clean/lib/Pod/Usage.pm	Thu Aug 10 14:39:45 2000
+++ ./lib/Pod/Usage.pm	Sun Jun 16 12:55:18 2002
@@ -400,6 +400,11 @@
 use Carp;
 use Config;
 use Exporter;
+
+# Added by FreeBSD ports to make sure newer version of File::Spec is used
+use Config;
+use lib $Config{installsitelib}; # installsitearch will be added automatically
+
 use File::Spec;
 
 use vars qw(@ISA @EXPORT);
diff -ur ../PodParser-1.18-clean/t/pod/find.t ./t/pod/find.t
--- ../PodParser-1.18-clean/t/pod/find.t	Fri Sep  1 08:25:41 2000
+++ ./t/pod/find.t	Sun Jun 16 12:56:32 2002
@@ -8,6 +8,11 @@
 BEGIN { plan tests => 4 }
 
 use Pod::Find qw(pod_find pod_where);
+
+# Added by FreeBSD ports to make sure newer version of File::Spec is used
+use Config;
+use lib $Config{installsitelib}; # installsitearch will be added automatically
+
 use File::Spec;
 
 # load successful
diff -ur ../PodParser-1.18-clean/t/pod/testcmp.pl ./t/pod/testcmp.pl
--- ../PodParser-1.18-clean/t/pod/testcmp.pl	Thu Aug 10 14:05:40 2000
+++ ./t/pod/testcmp.pl	Sun Jun 16 12:56:50 2002
@@ -6,7 +6,13 @@
 use Carp;
 use Exporter;
 use File::Basename;
+
+# Added by FreeBSD ports to make sure newer version of File::Spec is used
+use Config;
+use lib $Config{installsitelib}; # installsitearch will be added automatically
+
 use File::Spec;
+
 use FileHandle;
 
 @ISA = qw(Exporter);
diff -ur ../PodParser-1.18-clean/t/pod/testp2pt.pl ./t/pod/testp2pt.pl
--- ../PodParser-1.18-clean/t/pod/testp2pt.pl	Thu Aug 10 14:05:40 2000
+++ ./t/pod/testp2pt.pl	Sun Jun 16 12:57:11 2002
@@ -2,7 +2,13 @@
 
 BEGIN {
    use File::Basename;
+
+   # Added by FreeBSD ports to make sure newer version of File::Spec is used
+   use Config;
+   use lib $Config{installsitelib}; # installsitearch will be added automatically
+
    use File::Spec;
+
    use Cwd qw(abs_path);
    push @INC, '..';
    my $THISDIR = abs_path(dirname $0);
diff -ur ../PodParser-1.18-clean/t/pod/testpchk.pl ./t/pod/testpchk.pl
--- ../PodParser-1.18-clean/t/pod/testpchk.pl	Thu Aug 10 14:05:40 2000
+++ ./t/pod/testpchk.pl	Sun Jun 16 12:56:17 2002
@@ -2,7 +2,13 @@
 
 BEGIN {
    use File::Basename;
+
+   # Added by FreeBSD ports to make sure newer version of File::Spec is used
+   use Config;
+   use lib $Config{installsitelib}; # installsitearch will be added automatically
+
    use File::Spec;
+
    push @INC, '..';
    my $THISDIR = dirname $0;
    unshift @INC, $THISDIR;