Skip to content

Commit

Permalink
net-libs/wslay: use different method to disable examples
Browse files Browse the repository at this point in the history
Keeping the dependency on pkg-config due to the macro usage.

Closes: https://bugs.gentoo.org/938003
Signed-off-by: Ionen Wolkens <[email protected]>
  • Loading branch information
ionenwks committed Aug 16, 2024
1 parent ef5d954 commit 9f49334
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion net-libs/wslay/wslay-1.1.1_p20210115.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -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[@]}"
Expand Down

0 comments on commit 9f49334

Please sign in to comment.