summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-04-14 05:54:21 -0400
committerJoonas Niilola <juippis@gentoo.org>2021-04-15 09:38:53 +0300
commit6e93bb3d0ad5afacbff8fd0cf0de48d92f2fa388 (patch)
tree9313b6c03c7fcb0935296f2fd2344b29fdbf3bc1 /media-fonts/x11fonts-jmk
parentgames-misc/xcruiser: fix build with -native-symlinks (diff)
downloadgentoo-6e93bb3d0ad5afacbff8fd0cf0de48d92f2fa388.tar.gz
gentoo-6e93bb3d0ad5afacbff8fd0cf0de48d92f2fa388.tar.bz2
gentoo-6e93bb3d0ad5afacbff8fd0cf0de48d92f2fa388.zip
media-fonts/x11fonts-jmk: fix build with -native-symlinks
Closes: https://bugs.gentoo.org/730928 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-fonts/x11fonts-jmk')
-rw-r--r--media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild
index a93ce57a9f47..0673462a08fd 100644
--- a/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild
+++ b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit font
+inherit font toolchain-funcs
MY_P="jmk-x11-fonts-${PV}"
@@ -15,7 +15,7 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm ~ia64 ppc ~s390 sparc x86"
BDEPEND="
- x11-misc/imake
+ >=x11-misc/imake-1.0.8-r1
>=x11-apps/mkfontscale-1.2.0
x11-apps/bdftopcf"
@@ -25,9 +25,9 @@ PATCHES=( "${FILESDIR}"/gzip.patch )
S="${WORKDIR}/${MY_P}"
-src_compile() {
- xmkmf || die
- default
+src_configure() {
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
}
src_install() {