[Buildroot] [PATCH/next v2 17/23] package/vlc: add optional dependency to libnfs

Bernd Kuhls bernd.kuhls at t-online.de
Sun Aug 12 20:29:29 UTC 2018


Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
 package/vlc/vlc.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index d34ab2a9e0..fab08b950d 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -71,7 +71,6 @@ VLC_CONF_OPTS += \
 	--disable-mmal \
 	--disable-mpg123 \
 	--disable-mtp \
-	--disable-nfs \
 	--disable-notify \
 	--disable-projectm \
 	--disable-schroedinger \
@@ -311,6 +310,13 @@ else
 VLC_CONF_OPTS += --disable-libmpeg2
 endif
 
+ifeq ($(BR2_PACKAGE_LIBNFS),y)
+VLC_CONF_OPTS += --enable-nfs
+VLC_DEPENDENCIES += libnfs
+else
+VLC_CONF_OPTS += --disable-nfs
+endif
+
 ifeq ($(BR2_PACKAGE_LIBPNG),y)
 VLC_CONF_OPTS += --enable-png
 VLC_DEPENDENCIES += libpng
-- 
2.18.0



More information about the buildroot mailing list