summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/procps/procps-3.1.8.ebuild')
-rw-r--r--sys-apps/procps/procps-3.1.8.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/sys-apps/procps/procps-3.1.8.ebuild b/sys-apps/procps/procps-3.1.8.ebuild
index 6c365f149352..525e655ae738 100644
--- a/sys-apps/procps/procps-3.1.8.ebuild
+++ b/sys-apps/procps/procps-3.1.8.ebuild
@@ -1,10 +1,13 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/procps/procps-3.1.8.ebuild,v 1.1 2003/03/20 19:48:37 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/procps/procps-3.1.8.ebuild,v 1.2 2003/03/22 19:19:48 method Exp $
+
+IUSE="selinux"
S=${WORKDIR}/${P}
DESCRIPTION="Standard informational utilities and process-handling tools -ps top tload snice vmstat free w watch uptime pmap skill pkill kill pgrep sysctl"
-SRC_URI="http://${PN}.sf.net/${P}.tar.gz"
+SRC_URI="http://${PN}.sf.net/${P}.tar.gz
+ selinux? mirror://gentoo/${P}-selinux.patch.bz2"
HOMEPAGE="http://procps.sourceforge.net/"
SLOT="0"
@@ -13,12 +16,15 @@ KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa arm ~mips"
RDEPEND=">=sys-libs/ncurses-5.2-r2"
DEPEND="${RDEPEND}
- >=sys-devel/gettext-0.10.35"
+ >=sys-devel/gettext-0.10.35
+ selinux? ( >=sys-apps/selinux-small-2003011510-r2 )"
src_unpack() {
unpack ${A}
cd ${S}
+ use selinux && epatch ${DISTDIR}/${P}-selinux.patch.bz2
+
# Use the CFLAGS from /etc/make.conf.
for file in `find . -iname "Makefile"`;do
mv ${file} ${file}.orig