diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-10-03 08:24:05 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-10-03 08:24:05 +0000 |
commit | e60d1670d0d0651470e62a41aee3bf5d5235d497 (patch) | |
tree | 2faa1bc4821b0524e98a81a559916b66a8384bc3 /sys-devel/gettext | |
parent | Don't unset CFLAGS/CXXFLAGS; use strip-flags instead. More on SLOT support. (... (diff) | |
download | gentoo-2-e60d1670d0d0651470e62a41aee3bf5d5235d497.tar.gz gentoo-2-e60d1670d0d0651470e62a41aee3bf5d5235d497.tar.bz2 gentoo-2-e60d1670d0d0651470e62a41aee3bf5d5235d497.zip |
ppc-macos fix
Diffstat (limited to 'sys-devel/gettext')
-rw-r--r-- | sys-devel/gettext/gettext-0.12.1-r1.ebuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys-devel/gettext/gettext-0.12.1-r1.ebuild b/sys-devel/gettext/gettext-0.12.1-r1.ebuild index 3c6a56e8b302..917bb71f69fb 100644 --- a/sys-devel/gettext/gettext-0.12.1-r1.ebuild +++ b/sys-devel/gettext/gettext-0.12.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # 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.24 2004/09/16 02:25:14 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.12.1-r1.ebuild,v 1.25 2004/10/03 08:24:05 usata Exp $ inherit eutils gnuconfig @@ -24,8 +24,7 @@ src_unpack() { src_compile() { local myconf="" - use macos && myconf="--enable-nls" || myconf="`use_enable nls`" - use ppc-macos && myconf="--enable-nls" || myconf="`use_enable nls`" + ( use macos || use ppc-macos ) && myconf="--enable-nls" || myconf="`use_enable nls`" # Compaq Java segfaults trying to build gettext stuff, and there's # no good way to tell gettext to refrain from building the java @@ -70,8 +69,7 @@ src_install() { rm -rf ${D}/usr/share/locale/locale.alias # /usr/lib/charset.alias is provided by Mac OS X - use macos && rm -f ${D}/usr/lib/charset.alias - use ppc-macos && rm -f ${D}/usr/lib/charset.alias + ( use macos || use ppc-macos ) && rm -f ${D}/usr/lib/charset.alias if [ -d ${D}/usr/doc/gettext ] then |