From: Bernd Kuhls Date: Sat, 20 Feb 2016 22:45:41 +0000 (+0100) Subject: package/vim: add optional support for acl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46b084368e4f3e4c98194fc108ce0aaa60b6820f;p=buildroot.git 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 --- 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