pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/perlsh Partly Interix fix, but also readonly-ro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/79d83d889275
branches:  trunk
changeset: 487857:79d83d889275
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Jan 21 03:53:17 2005 +0000

description:
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:

 shells/perlsh/distinfo         |   3 ++-
 shells/perlsh/patches/patch-aa |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r ae8238611427 -r 79d83d889275 shells/perlsh/distinfo
--- a/shells/perlsh/distinfo    Fri Jan 21 03:43:10 2005 +0000
+++ b/shells/perlsh/distinfo    Fri Jan 21 03:53:17 2005 +0000
@@ -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 -r ae8238611427 -r 79d83d889275 shells/perlsh/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/perlsh/patches/patch-aa    Fri Jan 21 03:53:17 2005 +0000
@@ -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';



Home | Main Index | Thread Index | Old Index