mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/OpenNI: introduce eapi9-pipestatus
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/39848 Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
committed by
Florian Schmaus
parent
59be1c4cba
commit
9f156f818d
@@ -9,7 +9,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
EGIT_REPO_URI="https://github.com/OpenNI/OpenNI"
|
||||
fi
|
||||
|
||||
inherit ${SCM} flag-o-matic toolchain-funcs java-pkg-opt-2
|
||||
inherit ${SCM} eapi9-pipestatus flag-o-matic java-pkg-opt-2 toolchain-funcs
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
@@ -61,8 +61,10 @@ src_prepare() {
|
||||
echo "" > ${i}
|
||||
done
|
||||
|
||||
local status
|
||||
find . -type f -print0 |
|
||||
xargs -0 sed -i "s:\".*/SamplesConfig.xml:\"${EPREFIX}/usr/share/${PN}/SamplesConfig.xml:" || die
|
||||
xargs -0 sed -i "s:\".*/SamplesConfig.xml:\"${EPREFIX}/usr/share/${PN}/SamplesConfig.xml:"
|
||||
status=$(pipestatus -v) || die "fails to sed SamplesConfig, (PIPESTATUS: ${status})"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
@@ -9,7 +9,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
EGIT_REPO_URI="https://github.com/OpenNI/OpenNI"
|
||||
fi
|
||||
|
||||
inherit ${SCM} flag-o-matic toolchain-funcs java-pkg-opt-2
|
||||
inherit ${SCM} eapi9-pipestatus flag-o-matic java-pkg-opt-2 toolchain-funcs
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
@@ -61,7 +61,8 @@ src_prepare() {
|
||||
done
|
||||
|
||||
find . -type f -print0 |
|
||||
xargs -0 sed -i "s:\".*/SamplesConfig.xml:\"${EPREFIX}/usr/share/${PN}/SamplesConfig.xml:" || die
|
||||
xargs -0 sed -i "s:\".*/SamplesConfig.xml:\"${EPREFIX}/usr/share/${PN}/SamplesConfig.xml:"
|
||||
status=$(pipestatus -v) || die "fails to sed SamplesConfig, (PIPESTATUS: ${status})"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
Reference in New Issue
Block a user