From cdc18ae10c0a026946a02a5cd6dad307baac285a Mon Sep 17 00:00:00 2001 From: Matt Weber Date: Tue, 2 Jun 2015 08:28:31 -0500 Subject: [PATCH] vim: selinux support Signed-off-by: Matthew Weber Reviewed-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- package/vim/vim.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/vim/vim.mk b/package/vim/vim.mk index da84d14d8f..518afafdce 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; \ -- 2.30.2