diff options
author | Sam James <sam@gentoo.org> | 2023-01-15 21:50:53 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-15 21:50:59 +0000 |
commit | 4284176d4423a366a93ba7b381384f5eae561565 (patch) | |
tree | f0ee696172c6c1101e1e4224c361e51da8be751a /dev-libs/OpenNI2 | |
parent | dev-libs/OpenNI2: fix build w/ musl (diff) | |
download | gentoo-4284176d4423a366a93ba7b381384f5eae561565.tar.gz gentoo-4284176d4423a366a93ba7b381384f5eae561565.tar.bz2 gentoo-4284176d4423a366a93ba7b381384f5eae561565.zip |
dev-libs/OpenNI2: invert debugging hack
Bug: https://bugs.gentoo.org/716346
Fixes: a7713d3db8cfaf20ad059849f859785bb91e2584
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/OpenNI2')
-rw-r--r-- | dev-libs/OpenNI2/OpenNI2-2.2_beta2-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/OpenNI2/OpenNI2-9999.ebuild | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dev-libs/OpenNI2/OpenNI2-2.2_beta2-r1.ebuild b/dev-libs/OpenNI2/OpenNI2-2.2_beta2-r1.ebuild index cb6ab6415daa..f6f44ab31fe4 100644 --- a/dev-libs/OpenNI2/OpenNI2-2.2_beta2-r1.ebuild +++ b/dev-libs/OpenNI2/OpenNI2-2.2_beta2-r1.ebuild @@ -54,7 +54,7 @@ src_prepare() { } src_compile() { - if use elibc_glibc ; then + if ! use elibc_glibc ; then # Build system doesn't respect CPPFLAGS. # bug #716346 append-flags -DXN_PLATFORM_LINUX_NO_GLIBC -DXN_PLATFORM_HAS_NO_SCHED_PARAM diff --git a/dev-libs/OpenNI2/OpenNI2-9999.ebuild b/dev-libs/OpenNI2/OpenNI2-9999.ebuild index dafb9834ae95..2c75c2c95808 100644 --- a/dev-libs/OpenNI2/OpenNI2-9999.ebuild +++ b/dev-libs/OpenNI2/OpenNI2-9999.ebuild @@ -9,7 +9,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then EGIT_REPO_URI="https://github.com/occipital/openni2" fi -inherit ${SCM} toolchain-funcs java-pkg-opt-2 +inherit ${SCM} flag-o-matic toolchain-funcs java-pkg-opt-2 if [ "${PV#9999}" != "${PV}" ] ; then SRC_URI="" @@ -52,7 +52,7 @@ src_prepare() { } src_compile() { - if use elibc_glibc ; then + if ! use elibc_glibc ; then # Build system doesn't respect CPPFLAGS. # bug #716346 append-flags -DXN_PLATFORM_LINUX_NO_GLIBC -DXN_PLATFORM_HAS_NO_SCHED_PARAM |