Lines 3-9
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libX11/libX11-1.1.5.ebuild,v 1.1 2008/09/06 06:56:34 dberkholz Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libX11/libX11-1.1.5.ebuild,v 1.1 2008/09/06 06:56:34 dberkholz Exp $ |
4 |
|
4 |
|
5 |
# Must be before x-modular eclass is inherited |
5 |
# Must be before x-modular eclass is inherited |
6 |
#SNAPSHOT="yes" |
6 |
SNAPSHOT="yes" |
|
|
7 |
PATCHES="${FILESDIR}/${P}-xtrans_connection_flags-configure.patch |
8 |
${FILESDIR}/${P}-crosscompile-makekeys.patch" |
7 |
|
9 |
|
8 |
inherit x-modular toolchain-funcs flag-o-matic |
10 |
inherit x-modular toolchain-funcs flag-o-matic |
9 |
|
11 |
|
Lines 26-38
Link Here
|
26 |
>=x11-misc/util-macros-0.99.0_p20051007" |
28 |
>=x11-misc/util-macros-0.99.0_p20051007" |
27 |
|
29 |
|
28 |
CONFIGURE_OPTIONS="$(use_enable ipv6) |
30 |
CONFIGURE_OPTIONS="$(use_enable ipv6) |
29 |
$(use_with xcb)" |
31 |
$(use_with xcb)" |
30 |
# xorg really doesn't like xlocale disabled. |
32 |
# xorg really doesn't like xlocale disabled. |
31 |
# $(use_enable nls xlocale) |
33 |
# $(use_enable nls xlocale) |
32 |
|
34 |
|
33 |
x-modular_src_compile() { |
|
|
34 |
x-modular_src_configure |
35 |
# [Cross-Compile Love] Disable {C,LD}FLAGS and redefine CC= for 'makekeys' |
36 |
( filter-flags -m* ; cd src/util && make CC=$(tc-getBUILD_CC) CFLAGS="${CFLAGS}" LDFLAGS="" clean all) |
37 |
x-modular_src_make |
38 |
} |