* [Buildroot] [PATCH 1/2] package/vim: add optional support for acl
@ 2016-02-20 22:45 Bernd Kuhls
2016-02-20 22:45 ` [Buildroot] [PATCH 2/2] package/vim: add optional support for gmp Bernd Kuhls
2016-02-21 11:29 ` [Buildroot] [PATCH 1/2] package/vim: add optional support for acl Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:45 UTC (permalink / raw)
To: buildroot
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 <bernd.kuhls@t-online.de>
---
package/vim/vim.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/vim/vim.mk b/package/vim/vim.mk
index a6b75d0..d9e0b60 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_LIBSELINUX),y)
VIM_CONF_OPTS += --enable-selinux
VIM_DEPENDENCIES += libselinux
--
2.7.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] package/vim: add optional support for gmp
2016-02-20 22:45 [Buildroot] [PATCH 1/2] package/vim: add optional support for acl Bernd Kuhls
@ 2016-02-20 22:45 ` Bernd Kuhls
2016-02-21 11:29 ` [Buildroot] [PATCH 1/2] package/vim: add optional support for acl Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:45 UTC (permalink / raw)
To: buildroot
When gmp 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]
0x0000000000000001 (NEEDED) Shared library: [libc.so.1]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.1]
0x0000000000000001 (NEEDED) Shared library: [libgpm.so.2]
0x0000000000000001 (NEEDED) Shared library: [libintl.so.8]
0x0000000000000001 (NEEDED) Shared library: [libm.so.1]
0x0000000000000001 (NEEDED) Shared library: [libncurses.so.5]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/vim/vim.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/vim/vim.mk b/package/vim/vim.mk
index d9e0b60..6e05050 100644
--- a/package/vim/vim.mk
+++ b/package/vim/vim.mk
@@ -34,6 +34,13 @@ else
VIM_CONF_OPTS += --disable-acl
endif
+ifeq ($(BR2_PACKAGE_GPM),y)
+VIM_CONF_OPTS += --enable-gpm
+VIM_DEPENDENCIES += gpm
+else
+VIM_CONF_OPTS += --disable-gpm
+endif
+
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
VIM_CONF_OPTS += --enable-selinux
VIM_DEPENDENCIES += libselinux
--
2.7.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] package/vim: add optional support for acl
2016-02-20 22:45 [Buildroot] [PATCH 1/2] package/vim: add optional support for acl Bernd Kuhls
2016-02-20 22:45 ` [Buildroot] [PATCH 2/2] package/vim: add optional support for gmp Bernd Kuhls
@ 2016-02-21 11:29 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-02-21 11:29 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sat, 20 Feb 2016 23:45:41 +0100, Bernd Kuhls wrote:
> 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 <bernd.kuhls@t-online.de>
> ---
> package/vim/vim.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-21 11:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-20 22:45 [Buildroot] [PATCH 1/2] package/vim: add optional support for acl Bernd Kuhls
2016-02-20 22:45 ` [Buildroot] [PATCH 2/2] package/vim: add optional support for gmp Bernd Kuhls
2016-02-21 11:29 ` [Buildroot] [PATCH 1/2] package/vim: add optional support for acl Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox