commit:     5b425cb7aa06c627b6665e103df7109c217cbecb
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Sep  9 11:34:10 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep  9 12:25:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b425cb7

sys-cluster/nanos6: hack for bad configure

Closes: https://bugs.gentoo.org/812200
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/nanos6/nanos6-2.6-r4.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/sys-cluster/nanos6/nanos6-2.6-r4.ebuild 
b/sys-cluster/nanos6/nanos6-2.6-r4.ebuild
index 0def7bb68..c136752b9 100644
--- a/sys-cluster/nanos6/nanos6-2.6-r4.ebuild
+++ b/sys-cluster/nanos6/nanos6-2.6-r4.ebuild
@@ -63,15 +63,12 @@ src_configure() {
                $(use_enable debug extra-debug)
        )
 
+       # https://github.com/bsc-pm/nanos6/issues/6
+       use ctf2prv && myconf+=( "--with-babeltrace2=${EPREFIX}/usr" )
        use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" )
        use memkind && myconf+=( "--with-memkind=${EPREFIX}/usr" )
        use pqos && myconf+=( "--with-pqos=${EPREFIX}/usr" )
 
-       if use ctf2prv; then
-               myconf+=( "--with-babeltrace2=${EPREFIX}/usr" )
-       else
-               myconf+=( "--without-babeltrace2" )
-       fi
        if use extrae; then
                myconf+=( "--with-extrae=${EPREFIX}/usr" )
        else
@@ -100,7 +97,6 @@ src_configure() {
 
        econf "${myconf[@]}"
 }
-#              --without-cuda
 
 src_install() {
        default

Reply via email to