samba36: allow build with no ipv6 support
authorRosy Song <rosysong@rosinson.com>
Mon, 7 Jan 2019 06:24:47 +0000 (14:24 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 Feb 2019 18:22:39 +0000 (19:22 +0100)
Signed-off-by: Rosy Song <rosysong@rosinson.com>
package/network/services/samba36/Makefile

index a08b51b..a4392f6 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=samba
 PKG_VERSION:=3.6.25
-PKG_RELEASE:=13
+PKG_RELEASE:=14
 
 PKG_SOURCE_URL:=https://download.samba.org/pub/samba \
                https://download.samba.org/pub/samba/stable
@@ -85,6 +85,7 @@ CONFIGURE_VARS += \
        libreplace_cv_HAVE_C99_VSNPRINTF=yes \
        libreplace_cv_HAVE_GETADDRINFO=yes \
        libreplace_cv_HAVE_IFACE_IFCONF=yes \
+       $(if $(CONFIG_IPV6),,libreplace_cv_HAVE_IPV6=no libreplace_cv_HAVE_IPV6_V6ONLY=no) \
        LINUX_LFS_SUPPORT=yes \
        samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
        samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \