mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -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>
|
<name>Alessandro Barbieri</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<use>
|
<use>
|
||||||
<flag name="sionlib">Enable <pkg>sys-cluster/sionlib</pkg> support</flag>
|
<flag name="sionlib">Enable <pkg>sys-cluster/sionlibl</pkg> support</flag>
|
||||||
</use>
|
</use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ RDEPEND="
|
|||||||
${PYTHON_DEPS}
|
${PYTHON_DEPS}
|
||||||
$(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]')
|
$(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]')
|
||||||
|
|
||||||
sionlib? ( sys-cluster/sionlib[tools] )
|
sionlib? ( sys-cluster/sionlibl:= )
|
||||||
"
|
"
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
@@ -36,9 +36,15 @@ src_configure() {
|
|||||||
|
|
||||||
$(use_enable test backend-test-runs)
|
$(use_enable test backend-test-runs)
|
||||||
$(use_enable debug)
|
$(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[@]}"
|
econf "${myconf[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user