summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/ncurses/ncurses-5.4.ebuild')
-rw-r--r--sys-libs/ncurses/ncurses-5.4.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys-libs/ncurses/ncurses-5.4.ebuild b/sys-libs/ncurses/ncurses-5.4.ebuild
index b98c5cbf3cc2..71e34adc6991 100644
--- a/sys-libs/ncurses/ncurses-5.4.ebuild
+++ b/sys-libs/ncurses/ncurses-5.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.4.ebuild,v 1.5 2004/03/16 03:23:25 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.4.ebuild,v 1.6 2004/03/29 22:36:41 avenj Exp $
inherit eutils flag-o-matic 64-bit gnuconfig
filter-flags -fno-exceptions
@@ -12,9 +12,10 @@ SRC_URI="mirror://gnu/ncurses/${P}.tar.gz"
LICENSE="MIT"
SLOT="5"
KEYWORDS="x86 ~ppc ~sparc alpha hppa ~mips amd64 ia64 ppc64 s390"
-IUSE="debug"
+IUSE="debug gpm"
-DEPEND="virtual/glibc"
+DEPEND="virtual/glibc
+ gpm? ( sys-libs/gpm )"
src_unpack() {
unpack ${A}
@@ -45,6 +46,8 @@ src_compile() {
( use build || use bootstrap ) \
&& myconf="${myconf} --without-cxx --without-cxx-binding --without-ada"
+ use gpm && myconf="${myconf} --with-gpm"
+
# We need the basic terminfo files in /etc, bug #37026. We will
# add '--with-terminfo-dirs' and then populate /etc/terminfo in
# src_install() ...