diff options
author | Roy Marples <uberlord@gentoo.org> | 2007-03-20 13:42:55 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2007-03-20 13:42:55 +0000 |
commit | cda4a7bea926ebff4eb5027e2b277f735d949fbb (patch) | |
tree | 73248aa202563a990aa9139dbe9c56ac4359b275 /app-text/recode/recode-3.6-r2.ebuild | |
parent | version bump (diff) | |
download | gentoo-2-cda4a7bea926ebff4eb5027e2b277f735d949fbb.tar.gz gentoo-2-cda4a7bea926ebff4eb5027e2b277f735d949fbb.tar.bz2 gentoo-2-cda4a7bea926ebff4eb5027e2b277f735d949fbb.zip |
Build against gettext system libraries and headers instead of included ones, #171540.
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-text/recode/recode-3.6-r2.ebuild')
-rw-r--r-- | app-text/recode/recode-3.6-r2.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app-text/recode/recode-3.6-r2.ebuild b/app-text/recode/recode-3.6-r2.ebuild index 4b11edf1e221..83261845812a 100644 --- a/app-text/recode/recode-3.6-r2.ebuild +++ b/app-text/recode/recode-3.6-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/recode/recode-3.6-r2.ebuild,v 1.19 2007/01/22 08:30:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/recode/recode-3.6-r2.ebuild,v 1.20 2007/03/20 13:42:55 uberlord Exp $ inherit flag-o-matic eutils libtool toolchain-funcs @@ -25,15 +25,15 @@ src_unpack() { epatch "${FILESDIR}"/${P}-ppc-macos.diff cp lib/error.c lib/xstrdup.c src/ || die "file copy failed" - if use ppc-macos; then - append-ldflags -lgettextlib -lintl - fi + use ppc-macos && append-ldflags -lgettextlib elibtoolize } src_compile() { tc-export CC LD - econf $(use_enable nls) || die "econf failed" + # --without-included-gettext means we always use system headers + # and library + econf --without-included-gettext $(use_enable nls) || die "econf failed" emake || die "emake failed" } |