Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xtitle/
Date: Thu, 15 Apr 2021 06:40:07
Message-Id: 1618468737.00cd446b3c4dfad221ace9521636082e35318cbb.juippis@gentoo
1 commit: 00cd446b3c4dfad221ace9521636082e35318cbb
2 Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 14 13:17:09 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 15 06:38:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00cd446b
7
8 x11-misc/xtitle: fix build with -native-symlinks
9
10 Closes: https://bugs.gentoo.org/726288
11 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 x11-misc/xtitle/xtitle-1.0.4.ebuild | 12 +++++++-----
15 1 file changed, 7 insertions(+), 5 deletions(-)
16
17 diff --git a/x11-misc/xtitle/xtitle-1.0.4.ebuild b/x11-misc/xtitle/xtitle-1.0.4.ebuild
18 index c5e8c66d85a..db79ece8e4a 100644
19 --- a/x11-misc/xtitle/xtitle-1.0.4.ebuild
20 +++ b/x11-misc/xtitle/xtitle-1.0.4.ebuild
21 @@ -1,8 +1,10 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 +# Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27
28 +inherit toolchain-funcs
29 +
30 DESCRIPTION="Set window title and icon name for an X11 terminal window"
31 HOMEPAGE="https://kinzler.com/me/xtitle/"
32 SRC_URI="https://kinzler.com/me/${PN}/${P}.tgz"
33 @@ -12,14 +14,14 @@ SLOT="0"
34 KEYWORDS="amd64 x86"
35 IUSE=""
36
37 -DEPEND="x11-misc/imake"
38 +DEPEND=">=x11-misc/imake-1.0.8-r1"
39 RDEPEND=""
40
41 HTML_DOCS=( xtitle.html )
42
43 -src_compile() {
44 - xmkmf || die
45 - emake
46 +src_configure() {
47 + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
48 + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
49 }
50
51 src_install() {