summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-04-29 14:00:40 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-04-29 14:05:01 -0700
commita3613d5eee1cdaa0c8465a924818bb1348d39918 (patch)
tree67ba14fc4608d45c0b4e0d530439ed0e6096246d /dev-java/openjfx
parentdev-python/sabyenc: bump to v4.0.1 (diff)
downloadgentoo-a3613d5eee1cdaa0c8465a924818bb1348d39918.tar.gz
gentoo-a3613d5eee1cdaa0c8465a924818bb1348d39918.tar.bz2
gentoo-a3613d5eee1cdaa0c8465a924818bb1348d39918.zip
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 <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java/openjfx')
-rw-r--r--dev-java/openjfx/openjfx-11.0.7_p1.ebuild5
1 files changed, 3 insertions, 2 deletions
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