summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2004-04-30 22:56:36 +0000
committerRyan Phillips <rphillips@gentoo.org>2004-04-30 22:56:36 +0000
commit87cde113cca4149101a96f46aadc8db562072536 (patch)
tree858dbb7eeae565e2386c728ff8449cd6384a4e94 /eclass
parentStable on alpha. (diff)
downloadhistorical-87cde113cca4149101a96f46aadc8db562072536.tar.gz
historical-87cde113cca4149101a96f46aadc8db562072536.tar.bz2
historical-87cde113cca4149101a96f46aadc8db562072536.zip
added support for selinux
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vim.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass
index 1f30b156bd20..629e0f5d2a8b 100644
--- a/eclass/vim.eclass
+++ b/eclass/vim.eclass
@@ -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/eclass/vim.eclass,v 1.53 2004/04/07 22:47:07 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.54 2004/04/30 22:56:36 rphillips Exp $
# Authors:
# Ryan Phillips <rphillips@gentoo.org>
@@ -12,7 +12,7 @@ ECLASS=vim
INHERITED="$INHERITED $ECLASS"
EXPORT_FUNCTIONS src_unpack
-IUSE="$IUSE ncurses nls acl"
+IUSE="$IUSE selinux ncurses nls acl"
if [ ${PN} != vim-core ]; then
IUSE="$IUSE cscope gpm perl python ruby"
@@ -21,12 +21,14 @@ if [ ${PN} != vim-core ]; then
gpm? ( >=sys-libs/gpm-1.19.3 )
perl? ( dev-lang/perl )
python? ( dev-lang/python )
+ selinux? ( sys-libs/libselinux )
acl? ( sys-apps/acl )"
RDEPEND="$RDEPEND
cscope? ( dev-util/cscope )
gpm? ( >=sys-libs/gpm-1.19.3 )
perl? ( dev-lang/perl )
python? ( dev-lang/python )
+ selinux? ( sys-libs/libselinux )
acl? ( sys-apps/acl )"
# Vim versions after 6.2d should work with Ruby 1.8 because of a local
# Gentoo patch; working on putting it upstream (22 May 2003 agriffis)
@@ -249,6 +251,9 @@ src_compile() {
&& myconf="${myconf} --with-tlib=ncurses" \
|| myconf="${myconf} --with-tlib=termcap"
+ use selinux \
+ || myconf="${myconf} --disable-selinux"
+
econf ${myconf} || die "vim configure failed"
# The following allows emake to be used