[Buildroot] [git commit branch/next] vim: selinux support

From
Thomas Petazzoni <hidden>
Date
2015-08-08 10:56:27
commit: http://git.buildroot.net/buildroot/commit/?id=cdc18ae10c0a026946a02a5cd6dad307baac285a
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/next

Signed-off-by: Matthew Weber <redacted>
Reviewed-by: Samuel Martin <redacted>
Signed-off-by: Thomas Petazzoni <redacted>
---
 package/vim/vim.mk |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/package/vim/vim.mk b/package/vim/vim.mk
index da84d14..518afaf 100644
--- a/package/vim/vim.mk
+++ b/package/vim/vim.mk
@@ -28,6 +28,13 @@ VIM_CONF_OPTS = --with-tlib=ncurses --enable-gui=no --without-x
 VIM_LICENSE = Charityware
 VIM_LICENSE_FILES = README.txt
 
+ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
+VIM_CONF_OPTS += --enable-selinux
+VIM_DEPENDENCIES += libselinux
+else
+VIM_CONF_OPTS += --disable-selinux
+endif
+
 define VIM_INSTALL_TARGET_CMDS
 	cd $(@D)/src; \
 		$(MAKE) DESTDIR=$(TARGET_DIR) installvimbin; \
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help