summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-ab
diff options
context:
space:
mode:
authorjoerg <joerg>2006-11-03 07:09:45 +0000
committerjoerg <joerg>2006-11-03 07:09:45 +0000
commit75a6da87534c4ba2be02c6c3fedbc050afe0d45a (patch)
tree93383a88d024072aa9e4ac307dc91510932a210d /lang/perl5/patches/patch-ab
parentc8d0b3f48a17e65ccd0b306b6a1343d3d39b5b3a (diff)
downloadpkgsrc-75a6da87534c4ba2be02c6c3fedbc050afe0d45a.tar.gz
DESTDIR support. Slightly refactor Perl build to avoid calling the newly
build executable, either by using the same constants or by sourcing the config.sh script created by Configure. Don't create $installsitearch and don't attempt to remove $installvendorarch, the former is easy and the latter not needed.
Diffstat (limited to 'lang/perl5/patches/patch-ab')
-rw-r--r--lang/perl5/patches/patch-ab12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/perl5/patches/patch-ab b/lang/perl5/patches/patch-ab
new file mode 100644
index 00000000000..a8b74bb3503
--- /dev/null
+++ b/lang/perl5/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.14 2006/11/03 07:09:46 joerg Exp $
+
+--- installperl.orig 2006-11-01 02:21:12.000000000 +0100
++++ installperl
+@@ -379,7 +379,6 @@ my ($do_installarchlib, $do_installprivl
+ mkpath($installprivlib, $verbose, 0777);
+ mkpath($installarchlib, $verbose, 0777);
+ mkpath($installsitelib, $verbose, 0777) if ($installsitelib);
+-mkpath($installsitearch, $verbose, 0777) if ($installsitearch);
+
+ if (chdir "lib") {
+ $do_installarchlib = ! samepath($installarchlib, '.');