diff options
author | Roy Marples <uberlord@gentoo.org> | 2007-07-10 23:00:46 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2007-07-10 23:00:46 +0000 |
commit | c139930d6a678bd977aa1e8b042396b1037ab462 (patch) | |
tree | 8d27c3a03ffa0a0bfc72a249e25203a1729e04ff /sys-apps/sed/sed-4.1.5.ebuild | |
parent | Added rdep of jre per bug #181668 (diff) | |
download | gentoo-2-c139930d6a678bd977aa1e8b042396b1037ab462.tar.gz gentoo-2-c139930d6a678bd977aa1e8b042396b1037ab462.tar.bz2 gentoo-2-c139930d6a678bd977aa1e8b042396b1037ab462.zip |
Only install sed to /bin for GNU userland.
(Portage version: 2.1.3_rc7)
Diffstat (limited to 'sys-apps/sed/sed-4.1.5.ebuild')
-rw-r--r-- | sys-apps/sed/sed-4.1.5.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys-apps/sed/sed-4.1.5.ebuild b/sys-apps/sed/sed-4.1.5.ebuild index 91d7cbc53802..ef76ba57c3cf 100644 --- a/sys-apps/sed/sed-4.1.5.ebuild +++ b/sys-apps/sed/sed-4.1.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.1.5.ebuild,v 1.17 2007/02/28 22:22:04 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.1.5.ebuild,v 1.18 2007/07/10 23:00:46 uberlord Exp $ inherit flag-o-matic @@ -44,13 +44,14 @@ src_compile() { -e '/docdir =/s:=.*/doc:= $(datadir)/doc/'${PF}'/html:' \ doc/Makefile.in || die "sed html doc" - local myconf="" + local myconf= bindir=/bin if ! use userland_GNU ; then myconf="--program-prefix=g" + bindir=/usr/bin fi use static && append-ldflags -static econf \ - --bindir=/bin \ + --bindir=${bindir} \ $(use_enable nls) \ ${myconf} \ || die "Configure failed" |