ocserv: avoid implicit dependencies
authorJo-Philipp Wich <jo@mein.io>
Fri, 7 Oct 2016 17:15:21 +0000 (19:15 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 7 Oct 2016 17:21:29 +0000 (19:21 +0200)
Explicitely disable liblz4 and external libtalloc support in order to avoid
implicit dependencies leading to the following error on build environments
that happen to provide liblz4 and libtalloc:

    Package ocserv is missing dependencies for the following libraries:
    liblz4.so.1
    libtalloc.so.2

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
net/ocserv/Makefile

index 4906f9a83b6ad9a4c2a84db2e638eb20f06c5d96..4ce791d8589ca142a1ada9f7fb8cf422de2de842 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ocserv
 PKG_VERSION:=0.11.5
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_USE_MIPS16:=0
 
 PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -62,6 +62,8 @@ CONFIGURE_ARGS+= \
        --without-libnl \
        --without-gssapi \
        --with-libcrypt-prefix="$(STAGING_DIR)/" \
+       --without-lz4 \
+       --with-local-talloc \
 
 ifneq ($(CONFIG_OCSERV_PAM),y)
 CONFIGURE_ARGS += --without-pam