mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-im/telegram-desktop: Find datafiles in ESYSROOT instead of EPREFIX
This will aid cross-compilation. No revbump, if it compiled correctly before it'll compile the same now. Closes: https://github.com/gentoo/gentoo/pull/43975 Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
committed by
Yixun Lan
parent
d7fb9592dc
commit
2add51ee0c
@@ -128,7 +128,7 @@ src_configure() {
|
||||
# XDG_DATA_DIRS variable causes all sorts of weirdness with cppgir:
|
||||
# - bug 909038: can't read from flatpak directories (fixed upstream)
|
||||
# - bug 920819: system-wide directories ignored when variable is set
|
||||
export XDG_DATA_DIRS="${EPREFIX}/usr/share"
|
||||
export XDG_DATA_DIRS="${ESYSROOT}/usr/share"
|
||||
|
||||
# Evil flag (bug #919201)
|
||||
filter-flags -fno-delete-null-pointer-checks
|
||||
|
||||
@@ -142,7 +142,7 @@ src_configure() {
|
||||
# XDG_DATA_DIRS variable causes all sorts of weirdness with cppgir:
|
||||
# - bug 909038: can't read from flatpak directories (fixed upstream)
|
||||
# - bug 920819: system-wide directories ignored when variable is set
|
||||
export XDG_DATA_DIRS="${EPREFIX}/usr/share"
|
||||
export XDG_DATA_DIRS="${ESYSROOT}/usr/share"
|
||||
|
||||
# Evil flag (bug #919201)
|
||||
filter-flags -fno-delete-null-pointer-checks
|
||||
|
||||
@@ -142,7 +142,7 @@ src_configure() {
|
||||
# XDG_DATA_DIRS variable causes all sorts of weirdness with cppgir:
|
||||
# - bug 909038: can't read from flatpak directories (fixed upstream)
|
||||
# - bug 920819: system-wide directories ignored when variable is set
|
||||
export XDG_DATA_DIRS="${EPREFIX}/usr/share"
|
||||
export XDG_DATA_DIRS="${ESYSROOT}/usr/share"
|
||||
|
||||
# Evil flag (bug #919201)
|
||||
filter-flags -fno-delete-null-pointer-checks
|
||||
|
||||
Reference in New Issue
Block a user