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 (-3 / +24 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 )"
16
18
17
S=${WORKDIR}/${P}/${ARCH}
19
if use amd64; then
20
	S=${WORKDIR}/${P}/x86
21
else
22
	S=${WORKDIR}/${P}/${ARCH}
23
fi
18
24
19
src_unpack() {
25
src_unpack() {
20
	unpack ${A}
26
	unpack ${A}
Lines 31-37 Link Here
31
}
37
}
32
38
33
src_install() {
39
src_install() {
34
	if use x86 ; then
40
	# if we have pre 2005.0 profile on amd64 do nothing
41
	# since this compatibility libraries are provided
42
	# by emul-linux-x86-compat package
43
	if ( use amd64 && has_multilib_profile ) || -n use amd64; then
44
		local OABI=${ABI}
45
		if use amd64; then
46
			ABI="x86"
47
		fi
48
		src_install-multi
49
		ABI=${OABI}
50
		unset OABI
51
	fi
52
}
53
54
src_install-multi() {
55
	if use x86 || use amd64 ; then
35
		into /
56
		into /
36
		dolib.so ld-linux.so.1*
57
		dolib.so ld-linux.so.1*
37
		rm -f ld-linux.so.1*
58
		rm -f ld-linux.so.1*

Return to bug 83904