summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-02 04:31:43 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-02 04:31:43 +0000
commitd1f214d0f321f1a96c744ac9a351ad8cd8a35d83 (patch)
treed482b431d4c9b7fc6d0bffd701be9cea238872ae /sys-process
parentPorted to modular X (diff)
downloadgentoo-2-d1f214d0f321f1a96c744ac9a351ad8cd8a35d83.tar.gz
gentoo-2-d1f214d0f321f1a96c744ac9a351ad8cd8a35d83.tar.bz2
gentoo-2-d1f214d0f321f1a96c744ac9a351ad8cd8a35d83.zip
cut out pstree.x11 if USE=-X
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/psmisc/psmisc-22.1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-process/psmisc/psmisc-22.1.ebuild b/sys-process/psmisc/psmisc-22.1.ebuild
index 88dc93518cbb..44c10445a530 100644
--- a/sys-process/psmisc/psmisc-22.1.ebuild
+++ b/sys-process/psmisc/psmisc-22.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/psmisc-22.1.ebuild,v 1.2 2006/01/24 23:50:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/psmisc-22.1.ebuild,v 1.3 2006/02/02 04:31:43 vapier Exp $
inherit eutils
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/psmisc/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="ipv6 nls selinux"
+IUSE="ipv6 nls selinux X"
RDEPEND=">=sys-libs/ncurses-5.2-r2
selinux? ( sys-libs/libselinux )"
@@ -47,4 +47,6 @@ src_install() {
done
dodoc AUTHORS ChangeLog NEWS README
+
+ use X || find "${D}" -name pstree.x11 -exec rm {} \;
}