Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 83904 | Differences between
and this patch

Collapse All | Expand All

(-)sys-libs/lib-compat/lib-compat-1.4.ebuild (-4 / +26 lines)
Lines 2-20 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-libs/lib-compat/lib-compat-1.4.ebuild,v 1.3 2005/02/17 18:49:17 plasmaroo Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-libs/lib-compat/lib-compat-1.4.ebuild,v 1.3 2005/02/17 18:49:17 plasmaroo Exp $
4
4
5
inherit multilib
6
5
DESCRIPTION="Compatibility C++ and libc5 and libc6 libraries for programs new and old"
7
DESCRIPTION="Compatibility C++ and libc5 and libc6 libraries for programs new and old"
6
HOMEPAGE="http://www.gentoo.org/"
8
HOMEPAGE="http://www.gentoo.org/"
7
SRC_URI="mirror://gentoo/${P}.tar.bz2"
9
SRC_URI="mirror://gentoo/${P}.tar.bz2"
8
10
9
LICENSE="GPL-2"
11
LICENSE="GPL-2"
10
SLOT="0"
12
SLOT="0"
11
KEYWORDS="x86 ppc sparc alpha ~ia64"
13
KEYWORDS="amd64 x86 ppc sparc alpha ~ia64"
12
IUSE="sdl"
14
IUSE="sdl"
13
15
14
RDEPEND="virtual/libc
16
RDEPEND="virtual/libc
15
	sdl? ( media-libs/libsdl )"
17
	sdl? ( media-libs/libsdl )
18
	!<app-emulation/emul-linux-x86-compat-1000"
16
19
17
S=${WORKDIR}/${P}/${ARCH}
20
if use amd64; then
21
	S=${WORKDIR}/${P}/x86
22
else
23
	S=${WORKDIR}/${P}/${ARCH}
24
fi
18
25
19
src_unpack() {
26
src_unpack() {
20
	unpack ${A}
27
	unpack ${A}
Lines 31-37 Link Here
31
}
38
}
32
39
33
src_install() {
40
src_install() {
34
	if use x86 ; then
41
	# if we have pre 2005.0 profile on amd64 do nothing
42
	# since this compatibility libraries are provided
43
	# by emul-linux-x86-compat package
44
	if ( use amd64 && has_multilib_profile ) || -n use amd64; then
45
		local OABI=${ABI}
46
		if use amd64; then
47
			ABI="x86"
48
		fi
49
		src_install-multi
50
		ABI=${OABI}
51
		unset OABI
52
	fi
53
}
54
55
src_install-multi() {
56
	if use x86 || use amd64 ; then
35
		into /
57
		into /
36
		dolib.so ld-linux.so.1*
58
		dolib.so ld-linux.so.1*
37
		rm -f ld-linux.so.1*
59
		rm -f ld-linux.so.1*

Return to bug 83904