From 629d4acd883ef357ffc54b558f0845693aa51a40 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 21 Jan 2005 03:53:17 +0000 Subject: Partly Interix fix, but also readonly-root fix: Don't use "-w '/'" to determine whether to install in PREFIX/share. Just do it anyway. --- shells/perlsh/distinfo | 3 ++- shells/perlsh/patches/patch-aa | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 shells/perlsh/patches/patch-aa diff --git a/shells/perlsh/distinfo b/shells/perlsh/distinfo index 3ff6f8da997..fca0a1b4c2b 100644 --- a/shells/perlsh/distinfo +++ b/shells/perlsh/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2003/04/20 16:27:04 cjep Exp $ +$NetBSD: distinfo,v 1.2 2005/01/21 03:53:17 tv Exp $ SHA1 (psh-1.8.tar.gz) = fd2f1fd0e100fb9fc20102b1c0d9dfaf2b14c0b9 Size (psh-1.8.tar.gz) = 119989 bytes +SHA1 (patch-aa) = c91b7ace961409e9d12f7ecda0e0dad1e860cd22 diff --git a/shells/perlsh/patches/patch-aa b/shells/perlsh/patches/patch-aa new file mode 100644 index 00000000000..b2e36a40b6c --- /dev/null +++ b/shells/perlsh/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2005/01/21 03:53:17 tv Exp $ + +--- postinstall.pl.orig 2005-01-20 22:51:05.000000000 -0500 ++++ postinstall.pl +@@ -6,7 +6,7 @@ if ($^O eq 'MSWin32') { + } else { + my $where; + +- if( -w '/') { ++ if(1) { + $where= $ARGV[0]||$ARGV[1]||'/usr/local'; + } else { + $where ='~/.psh'; -- cgit v1.2.3