summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/installperl
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/installperl')
-rw-r--r--gnu/usr.bin/perl/installperl4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/installperl b/gnu/usr.bin/perl/installperl
index 0ca0b5c4e4c..27f82571ab8 100644
--- a/gnu/usr.bin/perl/installperl
+++ b/gnu/usr.bin/perl/installperl
@@ -1,5 +1,5 @@
#!./perl
-# $OpenBSD$
+# $OpenBSD: installperl,v 1.2 1996/08/26 05:31:51 downsj Exp $
#
# This is hacked up, in order to support DESTDIR.
#
@@ -51,6 +51,8 @@ if ($installdest ne '') {
$installsitelib = "$installdest/$Config{installsitelib}";
$installsitearch = "$installdest/$Config{installsitearch}";
$installman1dir = "$installdest/$Config{installman1dir}";
+ # Also whack $mainperldir.
+ $mainperldir = "$installdest/$mainperldir";
} else {
# Fetch some frequently-used items from %Config.
$installbin = $Config{installbin};