mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
sys-cluster/otf2: fix sionlib detection
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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[@]}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user