mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
gui-apps/lswt: use CHOST CC
Bug: https://bugs.gentoo.org/243502 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
DESCRIPTION="List Wayland toplevels"
|
DESCRIPTION="List Wayland toplevels"
|
||||||
HOMEPAGE="https://git.sr.ht/~leon_plickat/lswt/"
|
HOMEPAGE="https://git.sr.ht/~leon_plickat/lswt/"
|
||||||
|
|
||||||
@@ -22,6 +24,10 @@ DEPEND="dev-libs/wayland"
|
|||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
BDEPEND="dev-util/wayland-scanner"
|
BDEPEND="dev-util/wayland-scanner"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake CC="$(tc-getCC)"
|
||||||
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
# Need to install to /usr instead of /usr/local
|
# Need to install to /usr instead of /usr/local
|
||||||
# and the Makefile doens't handle DESTDIR properly
|
# and the Makefile doens't handle DESTDIR properly
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
DESCRIPTION="List Wayland toplevels"
|
DESCRIPTION="List Wayland toplevels"
|
||||||
HOMEPAGE="https://git.sr.ht/~leon_plickat/lswt/"
|
HOMEPAGE="https://git.sr.ht/~leon_plickat/lswt/"
|
||||||
|
|
||||||
@@ -22,6 +24,10 @@ DEPEND="dev-libs/wayland"
|
|||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
BDEPEND="dev-util/wayland-scanner"
|
BDEPEND="dev-util/wayland-scanner"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake CC="$(tc-getCC)"
|
||||||
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
# Need to install to /usr instead of /usr/local
|
# Need to install to /usr instead of /usr/local
|
||||||
# and the Makefile doens't handle DESTDIR properly
|
# and the Makefile doens't handle DESTDIR properly
|
||||||
|
|||||||
Reference in New Issue
Block a user