diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2004-02-08 13:13:38 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2004-02-08 13:13:38 +0000 |
commit | 40c2ad8aeede47943c51953d600526038da73931 (patch) | |
tree | 41fbe96bc1589f57fdb0539c379ed7e4794102f9 /sys-devel/gettext | |
parent | Bleh, I should check it better (diff) | |
download | gentoo-2-40c2ad8aeede47943c51953d600526038da73931.tar.gz gentoo-2-40c2ad8aeede47943c51953d600526038da73931.tar.bz2 gentoo-2-40c2ad8aeede47943c51953d600526038da73931.zip |
Fix it to actually do as advertised.
Diffstat (limited to 'sys-devel/gettext')
-rw-r--r-- | sys-devel/gettext/ChangeLog | 5 | ||||
-rw-r--r-- | sys-devel/gettext/gettext-0.12.1-r1.ebuild | 25 |
2 files changed, 17 insertions, 13 deletions
diff --git a/sys-devel/gettext/ChangeLog b/sys-devel/gettext/ChangeLog index 4478a5fa7d9a..930539480ca2 100644 --- a/sys-devel/gettext/ChangeLog +++ b/sys-devel/gettext/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-devel/gettext # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v 1.36 2004/02/08 12:23:42 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v 1.37 2004/02/08 13:13:38 azarah Exp $ + + 08 Feb 2004; Martin Schlemmer <azarah@gentoo.org> gettext-0.12.1-r1.ebuild: + Fix it to actually do as advertised. *gettext-0.12.1-r1 (08 Feb 2004) diff --git a/sys-devel/gettext/gettext-0.12.1-r1.ebuild b/sys-devel/gettext/gettext-0.12.1-r1.ebuild index cd556fdb0e2d..4c71aa06b6b4 100644 --- a/sys-devel/gettext/gettext-0.12.1-r1.ebuild +++ b/sys-devel/gettext/gettext-0.12.1-r1.ebuild @@ -1,20 +1,19 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.12.1-r1.ebuild,v 1.2 2004/02/08 12:25:22 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.12.1-r1.ebuild,v 1.3 2004/02/08 13:13:38 azarah Exp $ inherit eutils IUSE="nls" -S=${WORKDIR}/${P} +S="${WORKDIR}/${P}" DESCRIPTION="GNU locale utilities" HOMEPAGE="http://www.gnu.org/software/gettext/gettext.html" SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" -#KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~arm -amd64 ~ia64" -KEYWORDS="-*" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~arm -amd64 ~ia64" DEPEND="virtual/glibc" @@ -25,7 +24,7 @@ src_unpack() { } src_compile() { - local myconf="" + local myconf= use nls || myconf="--disable-nls" # Compaq Java segfaults trying to build gettext stuff, and there's @@ -42,13 +41,15 @@ src_compile() { myconf="--without-java" fi + # Build with --without-included-gettext (will use that of glibc), as we + # need preloadable_libintl.so for new help2man, bug #40162. + # Also note that it only gets build with USE=nls ... + # Lastly, we need to build without --disable-shared ... CXX=${CC} econf \ - --disable-shared \ --without-included-gettext \ ${myconf} || die - # Doesn't work with emake - make || die + emake || die } src_install() { @@ -61,11 +62,11 @@ src_install() { exeinto /usr/bin doexe misc/gettextize - #glibc includes gettext; this isn't needed anymore - rm -rf ${D}/usr/include - rm -rf ${D}/usr/lib/*.{a,so} + # Glibc includes gettext; this isn't needed anymore +# rm -rf ${D}/usr/include +# rm -rf ${D}/usr/lib/lib*.{a,so} - #again, installed by glibc + # Again, installed by glibc rm -rf ${D}/usr/share/locale/locale.alias if [ -d ${D}/usr/doc/gettext ] |