diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2024-01-02 19:39:43 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-01-02 19:39:43 +0100 |
commit | 0c1b1c9db0083b352b86255e9a90acda44cdd8a1 (patch) | |
tree | 2ffd7e52965d447c0263ac5a97f9f4391d44d349 /net-dns | |
parent | app-misc/mx5000tools: fix musl (diff) | |
download | gentoo-0c1b1c9db0083b352b86255e9a90acda44cdd8a1.tar.gz gentoo-0c1b1c9db0083b352b86255e9a90acda44cdd8a1.tar.bz2 gentoo-0c1b1c9db0083b352b86255e9a90acda44cdd8a1.zip |
net-dns/inadyn: fix mbedtls support
Closes: https://bugs.gentoo.org/910687
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/inadyn/inadyn-2.12.0.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/net-dns/inadyn/inadyn-2.12.0.ebuild b/net-dns/inadyn/inadyn-2.12.0.ebuild index 87a2471dbf87..14ccc44e5337 100644 --- a/net-dns/inadyn/inadyn-2.12.0.ebuild +++ b/net-dns/inadyn/inadyn-2.12.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -35,7 +35,13 @@ src_configure() { local myeconfargs=( "--enable-ssl" ) fi - use mbedtls && myeconfargs+=( "--enable-mbedtls" ) + if use mbedtls; then + myeconfargs+=( "--enable-mbedtls" ) + + # MbedTLS has no support for pkg-config + myeconfargs+=( MbedTLS_CFLAGS="-I/usr/include/mbedtls" ) + myeconfargs+=( MbedTLS_LIBS="-lmbedtls" ) + fi use openssl && myeconfargs+=( "--enable-openssl" ) myeconfargs+=( --with-systemd="$(systemd_get_systemunitdir)" ) |