From 46b084368e4f3e4c98194fc108ce0aaa60b6820f Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 20 Feb 2016 23:45:41 +0100 Subject: [PATCH] package/vim: add optional support for acl When acl was compiled before, vim will use it as optional dependency: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/vim | grep NEEDED | sort 0x0000000000000001 (NEEDED) Shared library: [libacl.so.1] [...] Signed-off-by: Bernd Kuhls 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 07493669d6..6e05050f1e 100644 --- a/package/vim/vim.mk +++ b/package/vim/vim.mk @@ -27,6 +27,13 @@ VIM_CONF_OPTS = --with-tlib=ncurses --enable-gui=no --without-x VIM_LICENSE = Charityware VIM_LICENSE_FILES = README.txt +ifeq ($(BR2_PACKAGE_ACL),y) +VIM_CONF_OPTS += --enable-acl +VIM_DEPENDENCIES += acl +else +VIM_CONF_OPTS += --disable-acl +endif + ifeq ($(BR2_PACKAGE_GPM),y) VIM_CONF_OPTS += --enable-gpm VIM_DEPENDENCIES += gpm -- 2.30.2