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

(-)timezone-data-2006n.ebuild (-2 / +8 lines)
Lines 16-22 Link Here
16
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
16
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
17
IUSE="nls"
17
IUSE="nls"
18
18
19
DEPEND=""
19
DEPEND="nls? ( virtual/libintl )"
20
RDEPEND="${DEPEND}"
20
21
21
S=${WORKDIR}
22
S=${WORKDIR}
22
23
Lines 29-35 Link Here
29
src_compile() {
30
src_compile() {
30
	tc-export CC
31
	tc-export CC
31
	use elibc_FreeBSD && append-flags -DSTD_INSPIRED #138251
32
	use elibc_FreeBSD && append-flags -DSTD_INSPIRED #138251
32
	use nls && export NLS=1 || export NLS=0
33
	if use nls; then
34
		use elibc_glibc || append-ldflags -lintl	#154181
35
		export NLS=1
36
	else
37
		export NLS=0
38
	fi
33
	emake || die "emake failed"
39
	emake || die "emake failed"
34
	if tc-is-cross-compiler ; then
40
	if tc-is-cross-compiler ; then
35
		make -C "${S}"-native CC=$(tc-getBUILD_CC) zic || die
41
		make -C "${S}"-native CC=$(tc-getBUILD_CC) zic || die

Return to bug 154181