aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/open62541/metadata.xml11
-rw-r--r--dev-libs/open62541/open62541-1.4.2.ebuild10
2 files changed, 8 insertions, 13 deletions
diff --git a/dev-libs/open62541/metadata.xml b/dev-libs/open62541/metadata.xml
index fd0da5f21..c2b9267f3 100644
--- a/dev-libs/open62541/metadata.xml
+++ b/dev-libs/open62541/metadata.xml
@@ -17,18 +17,15 @@
systems.
</longdescription>
<use>
- <flag name="encryption">
- Enable encryption support
- </flag>
<flag name="mbedtls">
- Use mbedtls for encryption
+ Enable encryption support using <pkg>net-libs/mbedtls</pkg>
+ </flag>
+ <flag name="openssl">
+ Enable encryption support using <pkg>dev-libs/openssl</pkg>
</flag>
<flag name="pubsub">
Enable OPC/UA Pub/Sub extensions
</flag>
- <flag name="openssl">
- Use openssl for encryption
- </flag>
<flag name="tools">
Build additional shell tools
</flag>
diff --git a/dev-libs/open62541/open62541-1.4.2.ebuild b/dev-libs/open62541/open62541-1.4.2.ebuild
index 48b4eddc1..1fb7eb285 100644
--- a/dev-libs/open62541/open62541-1.4.2.ebuild
+++ b/dev-libs/open62541/open62541-1.4.2.ebuild
@@ -14,13 +14,13 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="doc encryption examples mbedtls pubsub openssl tools"
+IUSE="doc examples mbedtls pubsub openssl tools"
# Requires network access
RESTRICT="test"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
- encryption? ( || ( mbedtls openssl ) )
+ ?? ( mbedtls openssl )
"
BDEPEND="
@@ -55,10 +55,8 @@ src_configure() {
-DUA_FORCE_WERROR=OFF
)
- if use encryption; then
- use mbedtls && mycmakeargs+=(-DUA_ENABLE_ENCRYPTION=MBEDTLS)
- use openssl && mycmakeargs+=(-DUA_ENABLE_ENCRYPTION=OPENSSL)
- fi
+ use mbedtls && mycmakeargs+=(-DUA_ENABLE_ENCRYPTION=MBEDTLS)
+ use openssl && mycmakeargs+=(-DUA_ENABLE_ENCRYPTION=OPENSSL)
cmake_src_configure
}