Skip to content

Commit

Permalink
dev-libs/OpenNI2: invert debugging hack
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/716346
Fixes: a7713d3
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jan 15, 2023
1 parent a7713d3 commit 4284176
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev-libs/OpenNI2/OpenNI2-2.2_beta2-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions dev-libs/OpenNI2/OpenNI2-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4284176

Please sign in to comment.