commit: 00cd446b3c4dfad221ace9521636082e35318cbb Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> AuthorDate: Wed Apr 14 13:17:09 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Apr 15 06:38:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00cd446b
x11-misc/xtitle: fix build with -native-symlinks Closes: https://bugs.gentoo.org/726288 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> x11-misc/xtitle/xtitle-1.0.4.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/x11-misc/xtitle/xtitle-1.0.4.ebuild b/x11-misc/xtitle/xtitle-1.0.4.ebuild index c5e8c66d85a..db79ece8e4a 100644 --- a/x11-misc/xtitle/xtitle-1.0.4.ebuild +++ b/x11-misc/xtitle/xtitle-1.0.4.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 +inherit toolchain-funcs + DESCRIPTION="Set window title and icon name for an X11 terminal window" HOMEPAGE="https://kinzler.com/me/xtitle/" SRC_URI="https://kinzler.com/me/${PN}/${P}.tgz" @@ -12,14 +14,14 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="" -DEPEND="x11-misc/imake" +DEPEND=">=x11-misc/imake-1.0.8-r1" RDEPEND="" HTML_DOCS=( xtitle.html ) -src_compile() { - xmkmf || die - emake +src_configure() { + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die } src_install() {
