diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-05-06 05:03:40 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-05-06 05:03:40 +0000 |
commit | cfcde99be1955e4b23c8dd148bcdad9f8e6ac7af (patch) | |
tree | 36fe37fdb846079269f741d7c23b511afa3b8b2d /sys-devel/m4 | |
parent | marked stable on x86 (diff) | |
download | gentoo-2-cfcde99be1955e4b23c8dd148bcdad9f8e6ac7af.tar.gz gentoo-2-cfcde99be1955e4b23c8dd148bcdad9f8e6ac7af.tar.bz2 gentoo-2-cfcde99be1955e4b23c8dd148bcdad9f8e6ac7af.zip |
reverse GNU userland logic since a binary called "gm4" is not common
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'sys-devel/m4')
-rw-r--r-- | sys-devel/m4/m4-1.4.3.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-devel/m4/m4-1.4.3.ebuild b/sys-devel/m4/m4-1.4.3.ebuild index 6b7a53f13240..88150a5c04d4 100644 --- a/sys-devel/m4/m4-1.4.3.ebuild +++ b/sys-devel/m4/m4-1.4.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4.3.ebuild,v 1.4 2005/05/05 03:32:45 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4.3.ebuild,v 1.5 2005/05/06 05:03:40 vapier Exp $ inherit eutils toolchain-funcs @@ -25,16 +25,17 @@ src_unpack() { } src_compile() { + local myconf="" + [[ ${USERLAND} != "GNU" ]] && myconf="--program-prefix=g" econf \ $(use_enable nls) \ --enable-changeword \ - --program-prefix=g \ + ${myconf} \ || die emake AR="$(tc-getAR)" || die } src_install() { make install DESTDIR="${D}" || die - [[ ${USERLAND} == "GNU" ]] && dosym gm4 /usr/bin/m4 dodoc BACKLOG ChangeLog NEWS README* THANKS TODO } |