summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-06-07 11:58:39 +0000
committerobache <obache@pkgsrc.org>2014-06-07 11:58:39 +0000
commita9690456b9dc19a545cc168b9dd2a64e1294ad18 (patch)
tree4d2551c87accefb9eed139a2104258c382f51f38 /lang/perl5
parent502e1c96c1a28673453703983c11cfd3d52d4902 (diff)
downloadpkgsrc-a9690456b9dc19a545cc168b9dd2a64e1294ad18.tar.gz
File::Copy is used for the case link() is not usable.
Fixes installation on Haiku with BeFS.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/patches/patch-install__lib.pl14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/perl5/patches/patch-install__lib.pl b/lang/perl5/patches/patch-install__lib.pl
new file mode 100644
index 00000000000..3f2c6d0cf2a
--- /dev/null
+++ b/lang/perl5/patches/patch-install__lib.pl
@@ -0,0 +1,14 @@
+$NetBSD: patch-install__lib.pl,v 1.1 2014/06/07 11:58:39 obache Exp $
+
+* File::Copy is used for the case link() is not usable.
+
+--- install_lib.pl.orig 2014-06-07 09:51:07.000000000 +0000
++++ install_lib.pl
+@@ -8,6 +8,7 @@ use vars qw($Is_VMS $Is_W32 $Is_OS2 $Is_
+ %opts $packlist);
+ use subs qw(unlink link chmod);
+ require File::Path;
++require File::Copy;
+
+ BEGIN {
+ require Config;