1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-18 05:03:56 +02:00

ustream-ssl: variants conflict with each other

This adds conflicts between variants of libustream pacakge.
They provide the same file and thus it should not be possible to install
them side by side.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
(cherry picked from commit 219e17a350)
This commit is contained in:
Karel Kočí 2021-06-21 11:42:25 +02:00 committed by Hauke Mehrtens
parent 6eced97ce4
commit cd5ba0cfbb

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=ustream-ssl PKG_NAME:=ustream-ssl
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/ustream-ssl.git PKG_SOURCE_URL=$(PROJECT_GIT)/project/ustream-ssl.git
@ -37,6 +37,7 @@ define Package/libustream-wolfssl
$(Package/libustream/default) $(Package/libustream/default)
TITLE += (wolfssl) TITLE += (wolfssl)
DEPENDS += +PACKAGE_libustream-wolfssl:libwolfssl DEPENDS += +PACKAGE_libustream-wolfssl:libwolfssl
CONFLICTS := libustream-openssl
VARIANT:=wolfssl VARIANT:=wolfssl
endef endef
@ -44,6 +45,7 @@ define Package/libustream-mbedtls
$(Package/libustream/default) $(Package/libustream/default)
TITLE += (mbedtls) TITLE += (mbedtls)
DEPENDS += +libmbedtls DEPENDS += +libmbedtls
CONFLICTS := libustream-openssl libustream-wolfssl
VARIANT:=mbedtls VARIANT:=mbedtls
DEFAULT_VARIANT:=1 DEFAULT_VARIANT:=1
endef endef