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

Collapse All | Expand All

(-)skencil-0.6.18_pre20080519-r1.ebuild (-5 / +3 lines)
Lines 4-10 Link Here
4
4
5
EAPI=2
5
EAPI=2
6
6
7
inherit python multilib eutils
7
inherit multilib eutils toolchain-funcs
8
8
9
IUSE="nls"
9
IUSE="nls"
10
S=${WORKDIR}/${PN}-0.6
10
S=${WORKDIR}/${PN}-0.6
Lines 22-30 Link Here
22
LICENSE="GPL-2"
22
LICENSE="GPL-2"
23
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
23
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
24
24
25
src_unpack() {
25
src_prepare() {
26
	unpack ${A}
27
	cd "${S}"
28
	epatch "${FILESDIR}/skencil-configure-without-nls.diff"
26
	epatch "${FILESDIR}/skencil-configure-without-nls.diff"
29
	epatch "${FILESDIR}/skencil-0.6.17-setup.py.patch"
27
	epatch "${FILESDIR}/skencil-0.6.17-setup.py.patch"
30
28
Lines 38-44 Link Here
38
36
39
src_compile() {
37
src_compile() {
40
	./setup.py configure `use_with nls` || die
38
	./setup.py configure `use_with nls` || die
41
	BLDSHARED='gcc -shared' ./setup.py build || die
39
	BLDSHARED="$(tc-getCC) ${LDFLAGS} -shared" ./setup.py build || die
42
}
40
}
43
41
44
src_install () {
42
src_install () {

Return to bug 331137