Index: timezone-data-2006n.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2006n.ebuild,v retrieving revision 1.11 diff -u -r1.11 timezone-data-2006n.ebuild --- timezone-data-2006n.ebuild 4 Nov 2006 23:42:33 -0000 1.11 +++ timezone-data-2006n.ebuild 5 Nov 2006 22:29:51 -0000 @@ -16,7 +16,8 @@ KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" IUSE="nls" -DEPEND="" +DEPEND="nls? ( virtual/libintl )" +RDEPEND="${DEPEND}" S=${WORKDIR} @@ -29,7 +30,12 @@ src_compile() { tc-export CC use elibc_FreeBSD && append-flags -DSTD_INSPIRED #138251 - use nls && export NLS=1 || export NLS=0 + if use nls; then + use elibc_glibc || append-ldflags -lintl #154181 + export NLS=1 + else + export NLS=0 + fi emake || die "emake failed" if tc-is-cross-compiler ; then make -C "${S}"-native CC=$(tc-getBUILD_CC) zic || die