summaryrefslogtreecommitdiff
path: root/shells/perlsh
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-21 03:53:17 +0000
committertv <tv@pkgsrc.org>2005-01-21 03:53:17 +0000
commit629d4acd883ef357ffc54b558f0845693aa51a40 (patch)
tree584794b74cd9d6770439a207fcb2aca12dcaebfd /shells/perlsh
parent3e2532ac4755dc649d7728f6b5b72b71e7d2b055 (diff)
downloadpkgsrc-629d4acd883ef357ffc54b558f0845693aa51a40.tar.gz
Partly Interix fix, but also readonly-root fix: Don't use "-w '/'" to
determine whether to install in PREFIX/share. Just do it anyway.
Diffstat (limited to 'shells/perlsh')
-rw-r--r--shells/perlsh/distinfo3
-rw-r--r--shells/perlsh/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
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';