diff options
author | Sven Wegener <swegener@gentoo.org> | 2024-08-31 18:01:52 +0200 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2024-08-31 21:27:16 +0200 |
commit | 559e36b5c1abc6da5c6111843a822520a28aeaab (patch) | |
tree | b28c77706b677e17a16f3324a8e79f81ecb7284e /sci-libs/libsigrok | |
parent | sys-kernel/ugrd: add 1.19.3, drop 1.19.2 (diff) | |
download | gentoo-559e36b5c1abc6da5c6111843a822520a28aeaab.tar.gz gentoo-559e36b5c1abc6da5c6111843a822520a28aeaab.tar.bz2 gentoo-559e36b5c1abc6da5c6111843a822520a28aeaab.zip |
sci-libs/libsigrok: move --disable-{python,ruby} options to global
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'sci-libs/libsigrok')
-rw-r--r-- | sci-libs/libsigrok/libsigrok-0.5.2-r5.ebuild | 6 | ||||
-rw-r--r-- | sci-libs/libsigrok/libsigrok-9999.ebuild | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sci-libs/libsigrok/libsigrok-0.5.2-r5.ebuild b/sci-libs/libsigrok/libsigrok-0.5.2-r5.ebuild index 6c43a868daec..b5b8f1dea964 100644 --- a/sci-libs/libsigrok/libsigrok-0.5.2-r5.ebuild +++ b/sci-libs/libsigrok/libsigrok-0.5.2-r5.ebuild @@ -96,6 +96,8 @@ src_prepare() { sigrok_src_configure() { econf \ + --disable-python \ + --disable-ruby \ $(use_with bluetooth libbluez) \ $(use_with ftdi libftdi) \ $(use_with hidapi libhidapi) \ @@ -110,11 +112,11 @@ sigrok_src_configure() { each_python_configure() { cd "${BUILD_DIR}" - sigrok_src_configure --disable-ruby --enable-python + sigrok_src_configure --enable-python } src_configure() { - sigrok_src_configure --disable-ruby --disable-python + sigrok_src_configure use python && python_foreach_impl each_python_configure } diff --git a/sci-libs/libsigrok/libsigrok-9999.ebuild b/sci-libs/libsigrok/libsigrok-9999.ebuild index 8533a72d3c53..191f1750e535 100644 --- a/sci-libs/libsigrok/libsigrok-9999.ebuild +++ b/sci-libs/libsigrok/libsigrok-9999.ebuild @@ -86,6 +86,8 @@ src_prepare() { sigrok_src_configure() { econf \ + --disable-python \ + --disable-ruby \ $(use_with bluetooth libbluez) \ $(use_with ftdi libftdi) \ $(use_with hidapi libhidapi) \ @@ -101,11 +103,11 @@ sigrok_src_configure() { each_python_configure() { cd "${BUILD_DIR}" - sigrok_src_configure --disable-ruby --enable-python + sigrok_src_configure --enable-python } src_configure() { - sigrok_src_configure --disable-ruby --disable-python + sigrok_src_configure use python && python_foreach_impl each_python_configure } |