dev-libs/libgit2: Fix boolean args
authorMichał Górny <mgorny@gentoo.org>
Mon, 24 Feb 2020 16:58:39 +0000 (17:58 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 24 Feb 2020 17:01:45 +0000 (18:01 +0100)
Upstream started using exact string matches in some places; adjust
the usex constants appropriately.

Closes: https://bugs.gentoo.org/710502
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-libs/libgit2/libgit2-0.99.0-r1.ebuild

index 8d7000bba6c490fffc9d61c27918b59b9a2ed468..c986f95f0cfab04bab5634e34ae53513c00b6341 100644 (file)
@@ -44,8 +44,8 @@ src_configure() {
        local mycmakeargs=(
                -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
                -DBUILD_CLAR=$(usex test)
-               -DENABLE_TRACE=$(usex trace)
-               -DUSE_GSSAPI=$(usex gssapi)
+               -DENABLE_TRACE=$(usex trace ON OFF)
+               -DUSE_GSSAPI=$(usex gssapi ON OFF)
                -DUSE_SSH=$(usex ssh)
                -DTHREADSAFE=$(usex threads)
                -DUSE_HTTP_PARSER=system