mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- It was not installing on FreeBSD 4.x with perl 5.00503.
- Rename patch-aa to reflect which file is patched. - update /etc/shells in pkg-plist for package PR: 80104 Submitted by: Renato Botelho <freebsd@galle.com.br> (maintainer)
This commit is contained in:
parent
6a7cde9ec4
commit
ae34867263
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133693
6 changed files with 40 additions and 0 deletions
18
shells/perlsh/files/patch-postinstall.pl
Normal file
18
shells/perlsh/files/patch-postinstall.pl
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- postinstall.pl.orig Tue Apr 19 10:41:53 2005
|
||||
+++ postinstall.pl Tue Apr 19 10:42:00 2005
|
||||
@@ -1,9 +1,4 @@
|
||||
|
||||
-if ($^O eq 'MSWin32') {
|
||||
- mkdir("/psh");
|
||||
- system("xcopy share\\themes \\psh /Y");
|
||||
- system("xcopy share\\complete \\psh /Y");
|
||||
-} else {
|
||||
my $where;
|
||||
|
||||
if( -w '/') {
|
||||
@@ -15,5 +10,4 @@
|
||||
system("mkdir -p $where/share/psh");
|
||||
system("cp -r share/themes $where/share/psh");
|
||||
system("cp -r share/complete $where/share/psh");
|
||||
-}
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
@comment $FreeBSD$
|
||||
bin/psh
|
||||
@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak
|
||||
@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak
|
||||
share/psh/complete/debian
|
||||
share/psh/complete/perl
|
||||
share/psh/complete/standard
|
||||
|
|
18
shells/psh/files/patch-postinstall.pl
Normal file
18
shells/psh/files/patch-postinstall.pl
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- postinstall.pl.orig Tue Apr 19 10:41:53 2005
|
||||
+++ postinstall.pl Tue Apr 19 10:42:00 2005
|
||||
@@ -1,9 +1,4 @@
|
||||
|
||||
-if ($^O eq 'MSWin32') {
|
||||
- mkdir("/psh");
|
||||
- system("xcopy share\\themes \\psh /Y");
|
||||
- system("xcopy share\\complete \\psh /Y");
|
||||
-} else {
|
||||
my $where;
|
||||
|
||||
if( -w '/') {
|
||||
@@ -15,5 +10,4 @@
|
||||
system("mkdir -p $where/share/psh");
|
||||
system("cp -r share/themes $where/share/psh");
|
||||
system("cp -r share/complete $where/share/psh");
|
||||
-}
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
@comment $FreeBSD$
|
||||
bin/psh
|
||||
@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak
|
||||
@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak
|
||||
share/psh/complete/debian
|
||||
share/psh/complete/perl
|
||||
share/psh/complete/standard
|
||||
|
|
Loading…
Add table
Reference in a new issue