Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 378991
Collapse All | Expand All

(-)/usr/portage/dev-tcltk/togl/togl-2.0-r1.ebuild (-3 / +10 lines)
Lines 4-9 Link Here
4
4
5
EAPI="2"
5
EAPI="2"
6
6
7
inherit eutils toolchain-funcs
8
7
MY_P="Togl${PV}"
9
MY_P="Togl${PV}"
8
10
9
DESCRIPTION="A Tk widget for OpenGL rendering"
11
DESCRIPTION="A Tk widget for OpenGL rendering"
Lines 25-34 Link Here
25
S="${WORKDIR}"/${MY_P}
27
S="${WORKDIR}"/${MY_P}
26
28
27
src_configure() {
29
src_configure() {
28
	econf \
30
	if [[ ${ABI} == "amd64" ]] ; then
31
		myconf="--enable-64bit"
32
	else
33
		myconf="--disable-64bit"
34
	fi
35
	CC="$(tc-getCC) ${CFLAGS}" econf \
29
		$(use_enable debug symbols) \
36
		$(use_enable debug symbols) \
30
		$(use_enable amd64 64bit) \
37
		$(use_enable threads) \
31
		$(use_enable threads)
38
		${myconf}
32
}
39
}
33
40
34
src_install() {
41
src_install() {

Return to bug 378991