summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-06-15 21:20:01 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-06-15 21:20:01 +0000
commit7ae649a2f574b2f9c9c71dad508bc1c2412375ce (patch)
tree464274892a64ea261408be18597aa59349f31874
parentadded xlockmore-5.18 to p.mask (diff)
downloadgentoo-2-7ae649a2f574b2f9c9c71dad508bc1c2412375ce.tar.gz
gentoo-2-7ae649a2f574b2f9c9c71dad508bc1c2412375ce.tar.bz2
gentoo-2-7ae649a2f574b2f9c9c71dad508bc1c2412375ce.zip
Add support for ssh instead of rsh.
(Portage version: 2.0.51.22-r1)
-rw-r--r--sys-cluster/pvm/ChangeLog5
-rw-r--r--sys-cluster/pvm/pvm-3.4.5.ebuild13
2 files changed, 14 insertions, 4 deletions
diff --git a/sys-cluster/pvm/ChangeLog b/sys-cluster/pvm/ChangeLog
index ebeb8b2bc1c4..44b4529801a1 100644
--- a/sys-cluster/pvm/ChangeLog
+++ b/sys-cluster/pvm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-cluster/pvm
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/ChangeLog,v 1.20 2005/06/06 16:32:15 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/ChangeLog,v 1.21 2005/06/15 21:20:01 robbat2 Exp $
+
+ 15 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> pvm-3.4.5.ebuild:
+ Add support for ssh instead of rsh.
06 Jun 2005; Donnie Berkholz <spyderous@gentoo.org>; pvm-3.4.5.ebuild:
(#86959) Stable on x86.
diff --git a/sys-cluster/pvm/pvm-3.4.5.ebuild b/sys-cluster/pvm/pvm-3.4.5.ebuild
index 5c7ca29fb56f..32116364f0f3 100644
--- a/sys-cluster/pvm/pvm-3.4.5.ebuild
+++ b/sys-cluster/pvm/pvm-3.4.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/pvm-3.4.5.ebuild,v 1.3 2005/06/06 16:32:15 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/pvm-3.4.5.ebuild,v 1.4 2005/06/15 21:20:01 robbat2 Exp $
inherit eutils
@@ -32,9 +32,16 @@ src_unpack() {
# s390 should go in this list if there is ever interest
# Patch the 64bit def files to look in lib64 dirs as well for libraries.
for I in 64 PPC64; do
- sed -i -e "s|ARCHDLIB =|ARCHDLIB = -L/usr/lib64 -L/usr/X11R6/lib64 |" conf/LINUX${I}.def
- sed -i -e "s|ARCHLIB =|ARCHLIB = -L/usr/lib64 -L/usr/X11R6/lib64 |" conf/LINUX${I}.def
+ sed -i -e "s|ARCHDLIB =|ARCHDLIB = -L/usr/lib64 -L/usr/X11R6/lib64 |" conf/LINUX${I}.def || die "Failed to fix 64-bit"
+ sed -i -e "s|ARCHLIB =|ARCHLIB = -L/usr/lib64 -L/usr/X11R6/lib64 |" conf/LINUX${I}.def || die "Failed to fix 64-bit"
done
+
+ if use ssh; then
+ for i in ${S}/conf/LINUX*def; do
+ sed -i.orig -e '/^ARCHCFLAGS/s~/usr/bin/rsh~/usr/bin/ssh~' "${i}" || die "Failed to set ssh"
+ done
+ fi
+
}
src_compile() {