summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-06 05:03:40 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-06 05:03:40 +0000
commit8e0d441b6c51e93763d977dc3c2882b64452a965 (patch)
tree1e8904f5e5c8efdef877312ff03b71a565e106a0
parentmarked stable on x86 (diff)
downloadhistorical-8e0d441b6c51e93763d977dc3c2882b64452a965.tar.gz
historical-8e0d441b6c51e93763d977dc3c2882b64452a965.tar.bz2
historical-8e0d441b6c51e93763d977dc3c2882b64452a965.zip
reverse GNU userland logic since a binary called "gm4" is not common
Package-Manager: portage-2.0.51.21-r1
-rw-r--r--sys-devel/m4/Manifest2
-rw-r--r--sys-devel/m4/m4-1.4.3.ebuild7
2 files changed, 5 insertions, 4 deletions
diff --git a/sys-devel/m4/Manifest b/sys-devel/m4/Manifest
index 98f567bab8db..5cf022fcdd25 100644
--- a/sys-devel/m4/Manifest
+++ b/sys-devel/m4/Manifest
@@ -2,7 +2,7 @@ MD5 e980eff7b798f5c909cf72f7ed221605 ChangeLog 4620
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 0a077ae68e101000521f46b2bf974085 m4-1.4.1.ebuild 781
MD5 91da8d2c90ce807e73b59ec3ba895e7e m4-1.4.2-r1.ebuild 763
-MD5 2221de27be33988c1748d491350e2629 m4-1.4.3.ebuild 1002
+MD5 0f36b450f04c70b7bc5b2297797c1900 m4-1.4.3.ebuild 1016
MD5 a0fbe19c80ff3efb55bbc711d4ef2648 files/digest-m4-1.4.3 61
MD5 235e74bf79f972d9fe52eaca8532119f files/digest-m4-1.4.1 60
MD5 7703a5bdcc14909f62302b74508db3d3 files/digest-m4-1.4.2-r1 60
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
}