diff options
Diffstat (limited to 'sys-cluster/pvm/pvm-3.4.4-r2.ebuild')
-rw-r--r-- | sys-cluster/pvm/pvm-3.4.4-r2.ebuild | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/sys-cluster/pvm/pvm-3.4.4-r2.ebuild b/sys-cluster/pvm/pvm-3.4.4-r2.ebuild index 94c8dfb015af..1cbd8c6098ee 100644 --- a/sys-cluster/pvm/pvm-3.4.4-r2.ebuild +++ b/sys-cluster/pvm/pvm-3.4.4-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/pvm-3.4.4-r2.ebuild,v 1.5 2004/09/03 19:44:42 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/pvm-3.4.4-r2.ebuild,v 1.6 2004/10/09 21:52:30 morfic Exp $ inherit eutils @@ -13,13 +13,30 @@ DEPEND="" RDEPEND="virtual/libc" SLOT="0" LICENSE="as-is" -KEYWORDS="~x86 ppc" +KEYWORDS="~x86 ~ppc ~amd64 ~ppc64 ~ia64" S="${WORKDIR}/${MY_P%%.*}" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-gentoo.diff || die + epatch ${FILESDIR}/${P}-s390.patch || die + epatch ${FILESDIR}/${P}-x86_64-segfault.patch || die + +# setup def files for other archs + cp conf/LINUX.def conf/LINUXX86_64.def + cp conf/LINUX.m4 conf/LINUXX86_64.m4 + cp conf/LINUX64.def conf/LINUXIA64.def + cp conf/LINUX64.m4 conf/LINUXIA64.m4 + cp conf/LINUX64.def conf/LINUXPPC64.def + cp conf/LINUX64.m4 conf/LINUXPPC64.m4 + +# 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 X86_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 + done } src_compile() { |