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

Collapse All | Expand All

(-)xac.orig/xac-0.6_pre4.ebuild (-6 / +12 lines)
Lines 2-8 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/x11-misc/xac/xac-0.6_pre4.ebuild,v 1.6 2009/09/30 15:52:20 josejx Exp $
3
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xac/xac-0.6_pre4.ebuild,v 1.6 2009/09/30 15:52:20 josejx Exp $
4
4
5
inherit toolchain-funcs eutils
5
EAPI="3"
6
PYTHON_DEPEND="2"
7
RESTRICT_PYTHON_ABIS="3.*"
8
9
inherit toolchain-funcs eutils python distutils
6
10
7
DESCRIPTION="Xorgautoconfig (xac) generates configuration files for X.org"
11
DESCRIPTION="Xorgautoconfig (xac) generates configuration files for X.org"
8
HOMEPAGE="http://dev.gentoo.org/~josejx/xac.html"
12
HOMEPAGE="http://dev.gentoo.org/~josejx/xac.html"
Lines 15-25 Link Here
15
RDEPEND="	x11-base/xorg-server"
19
RDEPEND="	x11-base/xorg-server"
16
SRC_URI="mirror://gentoo/${P}.tar.bz2"
20
SRC_URI="mirror://gentoo/${P}.tar.bz2"
17
21
18
src_unpack() {
22
pkg_setup() {
19
	unpack ${A}
23
	python_set_active_version 2
20
	cd "${S}"
24
}
21
	
25
22
	## Replace /usr/lib/xac with libdir version
26
src_prepare() {
27
	### Replace /usr/lib/xac with libdir version
23
	sed -i "s:/usr/lib/xac:/usr/$(get_libdir)/xac:" xac
28
	sed -i "s:/usr/lib/xac:/usr/$(get_libdir)/xac:" xac
24
29
25
	### Fix the x86 bios call with newer glibc
30
	### Fix the x86 bios call with newer glibc
Lines 37-42 Link Here
37
42
38
src_install() {
43
src_install() {
39
	local xac_base="/usr/$(get_libdir)/xac"
44
	local xac_base="/usr/$(get_libdir)/xac"
45
	python_convert_shebangs -r 2 "${ED}"
40
46
41
	dosbin "${S}"/xac
47
	dosbin "${S}"/xac
42
48

Return to bug 317029