summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-03-31 23:27:27 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-03-31 23:27:27 +0000
commiteb6a62ee4210f485779e5e751726196afb97c71a (patch)
treeacb9a5e6f2163e0a7ef5ecdbf165c15a5e430297 /sys-apps/sed
parentdep fix (diff)
downloadgentoo-2-eb6a62ee4210f485779e5e751726196afb97c71a.tar.gz
gentoo-2-eb6a62ee4210f485779e5e751726196afb97c71a.tar.bz2
gentoo-2-eb6a62ee4210f485779e5e751726196afb97c71a.zip
slight syntax fix
Diffstat (limited to 'sys-apps/sed')
-rw-r--r--sys-apps/sed/ChangeLog5
-rw-r--r--sys-apps/sed/sed-4.0.6.ebuild11
2 files changed, 12 insertions, 4 deletions
diff --git a/sys-apps/sed/ChangeLog b/sys-apps/sed/ChangeLog
index 2b0c653fa02a..fb296177ba51 100644
--- a/sys-apps/sed/ChangeLog
+++ b/sys-apps/sed/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for sys-apps/sed
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.26 2003/03/28 16:47:53 joker Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.27 2003/03/31 23:27:27 seemant Exp $
*sed-4.0.6 (24 Mar 2003)
+ 31 Mar 2003; Seemant Kulleen <seemant@gentoo.org> sed-4.0.6.ebuild:
+ changed use_enable to old style for the moment
+
28 Mar 2003; Christian Birchinger <joker@gentoo.org> sed-4.0.6.ebuild:
Added sparc stable keyword
diff --git a/sys-apps/sed/sed-4.0.6.ebuild b/sys-apps/sed/sed-4.0.6.ebuild
index d61cd9303405..27ba3524bd6a 100644
--- a/sys-apps/sed/sed-4.0.6.ebuild
+++ b/sys-apps/sed/sed-4.0.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.0.6.ebuild,v 1.3 2003/03/28 16:47:53 joker Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.0.6.ebuild,v 1.4 2003/03/31 23:27:27 seemant Exp $
DESCRIPTION="Super-useful stream editor"
SRC_URI="ftp://ftp.gnu.org/pub/gnu/sed/${P}.tar.gz"
@@ -13,10 +13,15 @@ IUSE="nls static build"
DEPEND="virtual/glibc
nls? ( sys-devel/gettext )"
-RDEPEND="virtual/glibc"
src_compile() {
- econf `use_enable nls` || die "Configure failed"
+ local myconf
+
+ use nls \
+ && myconf="${myconf} --enable-nls" \
+ || myconf="${myconf} --disable-nls"
+
+ econf ${myconf} || die "Configure failed"
if [ -z `use static` ] ; then
emake || die "Shared build failed"
else