summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-08-16 06:02:28 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-08-16 06:21:29 -0400
commit9f49334dc89ad535327abadab880df89c9799140 (patch)
tree66d546fa616e53f0d0186ee1a8c05f92d6fa7a29 /net-libs
parentdev-vcs/git-filter-repo: drop 2.38.0-r3 (diff)
downloadgentoo-9f49334dc89ad535327abadab880df89c9799140.tar.gz
gentoo-9f49334dc89ad535327abadab880df89c9799140.tar.bz2
gentoo-9f49334dc89ad535327abadab880df89c9799140.zip
net-libs/wslay: use different method to disable examples
Keeping the dependency on pkg-config due to the macro usage. Closes: https://bugs.gentoo.org/938003 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/wslay/wslay-1.1.1_p20210115.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-libs/wslay/wslay-1.1.1_p20210115.ebuild b/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
index dffeed24e492..44486fa55aa1 100644
--- a/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
+++ b/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
@@ -29,6 +29,9 @@ BDEPEND="
src_prepare() {
default
+ # skip unnecessary examples & automagic dependency on nettle
+ sed -i '/build_examples=/s/yes/no/' configure.ac || die
+
eautoreconf
}
@@ -37,7 +40,6 @@ src_configure() {
# no options... and cmake build has different issues
$(usev !doc ac_cv_path_SPHINX_BUILD=)
$(usev !test ac_cv_lib_cunit_CU_initialize_registry=)
- PKG_CONFIG=false # disables examples by failing to find nettle
)
econf "${econfargs[@]}"