summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-21 06:13:48 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-21 06:13:48 +0000
commitf66dbbf93dd2332bddc4b66440a47b856ca5131b (patch)
tree838c82b02f1b0b34bc32d8de6b69571921fb3834 /app-editors
parentDeleting old stuff (diff)
downloadhistorical-f66dbbf93dd2332bddc4b66440a47b856ca5131b.tar.gz
historical-f66dbbf93dd2332bddc4b66440a47b856ca5131b.tar.bz2
historical-f66dbbf93dd2332bddc4b66440a47b856ca5131b.zip
slang is only enabled if ncurses is not #26897
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/nano/ChangeLog8
-rw-r--r--app-editors/nano/nano-1.2.2.ebuild11
2 files changed, 7 insertions, 12 deletions
diff --git a/app-editors/nano/ChangeLog b/app-editors/nano/ChangeLog
index 61a053243105..3a3e5fa7a90c 100644
--- a/app-editors/nano/ChangeLog
+++ b/app-editors/nano/ChangeLog
@@ -1,15 +1,9 @@
# ChangeLog for app-editors/nano
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.34 2003/08/20 07:48:00 coronalvr Exp $
-
- 20 Aug 2003; Alex Veber <coronalvr@gentoo.org> nano-1.2.2.ebuild:
- fixed up the slang fix.
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.35 2003/08/21 06:13:48 vapier Exp $
*nano-1.2.2 (18 Aug 2003)
- 19 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
- Back out the slang support since it looks broken #26897.
-
18 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
Add back in optional slang support + add in debug support.
Also fix symlink so it points at ../../bin/nano rather than /bin/nano.
diff --git a/app-editors/nano/nano-1.2.2.ebuild b/app-editors/nano/nano-1.2.2.ebuild
index f9f5e04530ed..87345647b3d1 100644
--- a/app-editors/nano/nano-1.2.2.ebuild
+++ b/app-editors/nano/nano-1.2.2.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/app-editors/nano/nano-1.2.2.ebuild,v 1.4 2003/08/20 07:48:00 coronalvr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.2.2.ebuild,v 1.5 2003/08/21 06:13:48 vapier Exp $
inherit eutils
@@ -12,11 +12,11 @@ SRC_URI="http://www.nano-editor.org/dist/v1.2/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"
-IUSE="nls build spell justify debug" # slang"
+IUSE="nls build spell justify debug slang"
DEPEND=">=sys-libs/ncurses-5.2
- nls? ( sys-devel/gettext )"
-# slang? ( sys-libs/slang )" see bug #26897
+ nls? ( sys-devel/gettext )
+ slang? ( sys-libs/slang )"
PROVIDE="virtual/editor"
S=${WORKDIR}/${MY_P}
@@ -27,7 +27,9 @@ src_unpack() {
}
src_compile() {
+ local myconf=""
use build && myconf="${myconf} --disable-wrapping-as-root"
+ [ `use ncurses` ] || myconf="${myconf} `use_with slang`"
econf \
--bindir=/bin \
@@ -38,7 +40,6 @@ src_compile() {
`use_enable spell` \
`use_enable debug` \
`use_enable nls` \
-# `use_with slang` \
${myconf} \
|| die "configure failed"
emake || die