summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2022-08-21 13:16:02 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2022-08-21 13:20:32 +0200
commit8ded12e731df8d371bf03339f1b919ab9e44c19f (patch)
tree68fd05bca7938f218e71ef70b41b4202220d04b3 /net-libs/libiio
parentwww-client/chromium: drop opaque pointer workaround (diff)
downloadgentoo-8ded12e731df8d371bf03339f1b919ab9e44c19f.tar.gz
gentoo-8ded12e731df8d371bf03339f1b919ab9e44c19f.tar.bz2
gentoo-8ded12e731df8d371bf03339f1b919ab9e44c19f.zip
net-libs/libiio: Respect use flag settings
Closes: https://bugs.gentoo.org/865881 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'net-libs/libiio')
-rw-r--r--net-libs/libiio/libiio-0.24.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/net-libs/libiio/libiio-0.24.ebuild b/net-libs/libiio/libiio-0.24.ebuild
index 8c0f8320c620..e093b43aa586 100644
--- a/net-libs/libiio/libiio-0.24.ebuild
+++ b/net-libs/libiio/libiio-0.24.ebuild
@@ -25,6 +25,14 @@ RDEPEND="dev-libs/libxml2:=
zeroconf? ( net-dns/avahi )"
DEPEND="${RDEPEND}"
+src_configure() {
+ local mycmakeargs=(
+ -DHAVE_DNS_SD="$(usex zeroconf)"
+ -DWITH_AIO="$(usex aio)"
+ )
+ cmake_src_configure
+}
+
pkg_postinst() {
udev_reload
}