mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
sys-devel/gettext: pass JAVACFLAGS in JAVAC variable
Also avoid building java classes multiple times when muiltilib is enabled. Bug: https://bugs.gentoo.org/770508 Closes: https://bugs.gentoo.org/855134 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -108,7 +108,7 @@ multilib_src_configure() {
|
||||
$(use_enable cxx libasprintf)
|
||||
$(use_with git)
|
||||
$(usex git --without-cvs $(use_with cvs))
|
||||
$(use_enable java)
|
||||
$(multilib_native_use_enable java)
|
||||
$(use_enable ncurses curses)
|
||||
$(use_enable nls)
|
||||
$(use_enable openmp)
|
||||
@@ -121,6 +121,11 @@ multilib_src_configure() {
|
||||
ECONF_SOURCE+=/gettext-runtime
|
||||
fi
|
||||
|
||||
# Ensure javacomp.sh uses our desired source and target versions.
|
||||
# https://bugs.gentoo.org/855134
|
||||
local -x JAVAC="${JAVAC} ${JAVACFLAGS}"
|
||||
export JAVA_VERBOSE=1
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user