diff options
author | Ionen Wolkens <sudinave@gmail.com> | 2021-04-14 09:17:09 -0400 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-04-15 09:38:57 +0300 |
commit | 00cd446b3c4dfad221ace9521636082e35318cbb (patch) | |
tree | d7a26159a7d39c5586a4602fadc06d42cf434284 /x11-misc/xtitle | |
parent | x11-misc/xsnap: fix build with -native-symlinks (diff) | |
download | gentoo-00cd446b3c4dfad221ace9521636082e35318cbb.tar.gz gentoo-00cd446b3c4dfad221ace9521636082e35318cbb.tar.bz2 gentoo-00cd446b3c4dfad221ace9521636082e35318cbb.zip |
x11-misc/xtitle: fix build with -native-symlinks
Closes: https://bugs.gentoo.org/726288
Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc/xtitle')
-rw-r--r-- | x11-misc/xtitle/xtitle-1.0.4.ebuild | 12 |
1 files 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 c5e8c66d85a6..db79ece8e4ad 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() { |