mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
sys-cluster/pmix: enforce the choice of event library
pmix can be built with either libevent or libev, and we need to depend on the correct one. We depend on libevent. If, somehow, the configure check is broken, it will "happily" attempt to automagically build against libev instead, with varying degrees of success. Make sure it knows which one it MUST pick. Also update to use modern econf passing style with a local array, so that comments are supported! Closes: https://bugs.gentoo.org/884883 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
committed by
Eli Schwartz
parent
3cb521ed1e
commit
204e818da2
@@ -35,9 +35,17 @@ src_configure() {
|
||||
# https://github.com/openpmix/openpmix/issues/3350
|
||||
filter-lto
|
||||
|
||||
econf \
|
||||
$(use_enable debug) \
|
||||
local myeconfargs=(
|
||||
# These are alternatives. We must use the one in DEPEND, and also
|
||||
# prevent automagic fallbacks.
|
||||
--with-libevent
|
||||
--without-libev
|
||||
|
||||
$(use_enable debug)
|
||||
$(use_with munge)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
Reference in New Issue
Block a user