diff options
author | leeym <leeym@FreeBSD.org> | 2005-04-20 01:46:52 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2005-04-20 01:46:52 +0800 |
commit | 62bf491953f9606f272a907b711beb330ff6bd4e (patch) | |
tree | e55ad0ff0b1ef9df9e9f9121421a8a6cd218e167 | |
parent | 800264f216cc874f389e1f90123960de7e7a8791 (diff) | |
download | freebsd-ports-gnome-62bf491953f9606f272a907b711beb330ff6bd4e.tar.gz freebsd-ports-gnome-62bf491953f9606f272a907b711beb330ff6bd4e.tar.zst freebsd-ports-gnome-62bf491953f9606f272a907b711beb330ff6bd4e.zip |
- 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)
-rw-r--r-- | shells/perlsh/files/patch-Makefile.PL (renamed from shells/perlsh/files/patch-aa) | 0 | ||||
-rw-r--r-- | shells/perlsh/files/patch-postinstall.pl | 18 | ||||
-rw-r--r-- | shells/perlsh/pkg-plist | 2 | ||||
-rw-r--r-- | shells/psh/files/patch-Makefile.PL (renamed from shells/psh/files/patch-aa) | 0 | ||||
-rw-r--r-- | shells/psh/files/patch-postinstall.pl | 18 | ||||
-rw-r--r-- | shells/psh/pkg-plist | 2 |
6 files changed, 40 insertions, 0 deletions
diff --git a/shells/perlsh/files/patch-aa b/shells/perlsh/files/patch-Makefile.PL index 283792b3f0bd..283792b3f0bd 100644 --- a/shells/perlsh/files/patch-aa +++ b/shells/perlsh/files/patch-Makefile.PL diff --git a/shells/perlsh/files/patch-postinstall.pl b/shells/perlsh/files/patch-postinstall.pl new file mode 100644 index 000000000000..6770690f8947 --- /dev/null +++ b/shells/perlsh/files/patch-postinstall.pl @@ -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"); +-} + diff --git a/shells/perlsh/pkg-plist b/shells/perlsh/pkg-plist index c34c69a29dc7..8e263dd38ac6 100644 --- a/shells/perlsh/pkg-plist +++ b/shells/perlsh/pkg-plist @@ -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 diff --git a/shells/psh/files/patch-aa b/shells/psh/files/patch-Makefile.PL index 283792b3f0bd..283792b3f0bd 100644 --- a/shells/psh/files/patch-aa +++ b/shells/psh/files/patch-Makefile.PL diff --git a/shells/psh/files/patch-postinstall.pl b/shells/psh/files/patch-postinstall.pl new file mode 100644 index 000000000000..6770690f8947 --- /dev/null +++ b/shells/psh/files/patch-postinstall.pl @@ -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"); +-} + diff --git a/shells/psh/pkg-plist b/shells/psh/pkg-plist index c34c69a29dc7..8e263dd38ac6 100644 --- a/shells/psh/pkg-plist +++ b/shells/psh/pkg-plist @@ -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 |