aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2021-06-21 11:42:25 +0200
committerPaul Spooren <mail@aparcar.org>2021-06-21 18:48:03 -1000
commit219e17a35088a90eea664fbb4c66549d701a3cb4 (patch)
tree8f29022648213d9f0e21d561af446f6a5ae4b532 /package
parentf2f137593eb6c0e849352e85c003c91f8be81dd1 (diff)
downloadupstream-219e17a35088a90eea664fbb4c66549d701a3cb4.tar.gz
upstream-219e17a35088a90eea664fbb4c66549d701a3cb4.tar.bz2
upstream-219e17a35088a90eea664fbb4c66549d701a3cb4.zip
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>
Diffstat (limited to 'package')
-rw-r--r--package/libs/ustream-ssl/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/libs/ustream-ssl/Makefile b/package/libs/ustream-ssl/Makefile
index 3d1e48dcbd..f762c89d29 100644
--- a/package/libs/ustream-ssl/Makefile
+++ b/package/libs/ustream-ssl/Makefile
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=ustream-ssl
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/ustream-ssl.git
@@ -37,6 +37,7 @@ define Package/libustream-wolfssl
$(Package/libustream/default)
TITLE += (wolfssl)
DEPENDS += +PACKAGE_libustream-wolfssl:libwolfssl
+ CONFLICTS := libustream-openssl
VARIANT:=wolfssl
endef
@@ -44,6 +45,7 @@ define Package/libustream-mbedtls
$(Package/libustream/default)
TITLE += (mbedtls)
DEPENDS += +libmbedtls
+ CONFLICTS := libustream-openssl libustream-wolfssl
VARIANT:=mbedtls
DEFAULT_VARIANT:=1
endef