From: Matt Weber Date: Tue, 2 Jun 2015 13:28:31 +0000 (-0500) Subject: vim: selinux support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cdc18ae10c0a026946a02a5cd6dad307baac285a;p=buildroot.git vim: selinux support Signed-off-by: Matthew Weber Reviewed-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- 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; \