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

(-)gettext-0.18.1.1.ebuild (-1 / +10 lines)
Lines 4-10 Link Here
4
4
5
EAPI="2"
5
EAPI="2"
6
6
7
inherit flag-o-matic eutils multilib toolchain-funcs mono libtool
7
inherit flag-o-matic eutils multilib toolchain-funcs mono libtool autotools
8
8
9
DESCRIPTION="GNU locale utilities"
9
DESCRIPTION="GNU locale utilities"
10
HOMEPAGE="http://www.gnu.org/software/gettext/"
10
HOMEPAGE="http://www.gnu.org/software/gettext/"
Lines 23-33 Link Here
23
PDEPEND="emacs? ( app-emacs/po-mode )"
23
PDEPEND="emacs? ( app-emacs/po-mode )"
24
24
25
src_prepare() {
25
src_prepare() {
26
        (
27
                export AT_NO_RECURSIVE=yes
28
                cd "${S}"/gettext-runtime && AT_M4DIR="m4 gnulib-m4" eautoreconf
29
		cd "${S}"/gettext-runtime/libasprintf && AT_M4DIR="../../m4 ../m4" eautoreconf
30
        ) || die "eautoreconf failed"
31
26
	epunt_cxx
32
	epunt_cxx
27
}
33
}
28
34
29
src_configure() {
35
src_configure() {
30
	local myconf=""
36
	local myconf=""
37
38
	elibtoolize
39
31
	# Build with --without-included-gettext (on glibc systems)
40
	# Build with --without-included-gettext (on glibc systems)
32
	if use elibc_glibc ; then
41
	if use elibc_glibc ; then
33
		myconf="${myconf} --without-included-gettext $(use_enable nls)"
42
		myconf="${myconf} --without-included-gettext $(use_enable nls)"

Return to bug 334671