public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/otf2/
Date: Mon, 26 Jul 2021 23:28:46 +0000 (UTC)	[thread overview]
Message-ID: <1627342122.19d5ef12cd48b585f2a2bc06abb5178beea9dc89.Alessandro-Barbieri@gentoo> (raw)

commit:     19d5ef12cd48b585f2a2bc06abb5178beea9dc89
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jul 26 22:32:18 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jul 26 23:28:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19d5ef12

sys-cluster/otf2: fix sionlib detection

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/otf2/metadata.xml                            |  2 +-
 sys-cluster/otf2/{otf2-2.3.ebuild => otf2-2.3-r1.ebuild} | 10 ++++++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/otf2/metadata.xml b/sys-cluster/otf2/metadata.xml
index 0c04defae..2edcd3ced 100644
--- a/sys-cluster/otf2/metadata.xml
+++ b/sys-cluster/otf2/metadata.xml
@@ -6,6 +6,6 @@
 		<name>Alessandro Barbieri</name>
 	</maintainer>
 	<use>
-		<flag name="sionlib">Enable <pkg>sys-cluster/sionlib</pkg> support</flag>
+		<flag name="sionlib">Enable <pkg>sys-cluster/sionlibl</pkg> support</flag>
 	</use>
 </pkgmetadata>

diff --git a/sys-cluster/otf2/otf2-2.3.ebuild b/sys-cluster/otf2/otf2-2.3-r1.ebuild
similarity index 76%
rename from sys-cluster/otf2/otf2-2.3.ebuild
rename to sys-cluster/otf2/otf2-2.3-r1.ebuild
index 078fda868..35a693294 100644
--- a/sys-cluster/otf2/otf2-2.3.ebuild
+++ b/sys-cluster/otf2/otf2-2.3-r1.ebuild
@@ -20,7 +20,7 @@ RDEPEND="
 	${PYTHON_DEPS}
 	$(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]')
 
-	sionlib? ( sys-cluster/sionlib[tools] )
+	sionlib? ( sys-cluster/sionlibl:= )
 "
 DEPEND="${RDEPEND}"
 
@@ -36,9 +36,15 @@ src_configure() {
 
 		$(use_enable test backend-test-runs)
 		$(use_enable debug)
-		$(use_with sionlib)
 	)
 
+        if use sionlib; then
+                myconf+=( "--with-sionlib=${EPREFIX}/usr" )
+                myconf+=( "--with-sionlib-headers=${EPREFIX}/usr/include/sionlibl" )
+	else
+                myconf+=( "--without-sionlib" )
+        fi
+
 	econf "${myconf[@]}"
 }
 


             reply	other threads:[~2021-07-26 23:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-26 23:28 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-28 12:53 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/otf2/ Alessandro Barbieri
2022-05-25 20:21 Alessandro Barbieri
2022-03-31 13:27 Alessandro Barbieri
2021-07-27 19:57 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-07-27 19:57 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-07-25 23:21 Alessandro Barbieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1627342122.19d5ef12cd48b585f2a2bc06abb5178beea9dc89.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox