From: Georgy Yakovlev Date: Wed, 29 Apr 2020 21:00:40 +0000 (-0700) Subject: dev-java/openjfx: fix build with uncommon TERM, add -fcommon X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a3613d5eee1cdaa0c8465a924818bb1348d39918;p=gentoo.git dev-java/openjfx: fix build with uncommon TERM, add -fcommon Closes: https://bugs.gentoo.org/719606 Closes: https://bugs.gentoo.org/719958 Closes: https://bugs.gentoo.org/688894 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev --- diff --git a/dev-java/openjfx/openjfx-11.0.7_p1.ebuild b/dev-java/openjfx/openjfx-11.0.7_p1.ebuild index 957104f45e10..5f211eba215c 100644 --- a/dev-java/openjfx/openjfx-11.0.7_p1.ebuild +++ b/dev-java/openjfx/openjfx-11.0.7_p1.ebuild @@ -97,7 +97,8 @@ egradle() { unset ANT_HOME einfo "gradle "${gradle_args[@]}" ${@}" - "${gradle}" "${gradle_args[@]}" ${@} || die "gradle failed" + # TERM needed, otherwise gradle may fail on terms it does not know about + TERM="xterm" "${gradle}" "${gradle_args[@]}" ${@} || die "gradle failed" } pkg_setup() { @@ -168,7 +169,7 @@ src_prepare() { } src_configure() { - append-flags -Wno-error + append-flags -Wno-error -fcommon #FIXME: still calls gcc, pkg-config etc by name without chost prefix #FIXME: should we enable webkit? doubt so