diff options
author | Mike Gilbert <floppym@gentoo.org> | 2022-07-01 10:51:54 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2022-07-01 10:52:37 -0400 |
commit | 838acb806aa85a43ac6d0cc681e7f245bfee7377 (patch) | |
tree | 482b52b65dff3b1b90345fcdedbd8eff34604b8a /sys-devel | |
parent | www-apache/mod_h2: 2.0.3 version bump (diff) | |
download | gentoo-838acb806aa85a43ac6d0cc681e7f245bfee7377.tar.gz gentoo-838acb806aa85a43ac6d0cc681e7f245bfee7377.tar.bz2 gentoo-838acb806aa85a43ac6d0cc681e7f245bfee7377.zip |
sys-devel/gettext: revert java workarounds and depend on JDK 1.8
Closes: https://bugs.gentoo.org/855284
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gettext/gettext-0.21-r3.ebuild (renamed from sys-devel/gettext/gettext-0.21-r2.ebuild) | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sys-devel/gettext/gettext-0.21-r2.ebuild b/sys-devel/gettext/gettext-0.21-r3.ebuild index d810059fc2c2..0dc67c518d43 100644 --- a/sys-devel/gettext/gettext-0.21-r2.ebuild +++ b/sys-devel/gettext/gettext-0.21-r3.ebuild @@ -38,11 +38,11 @@ DEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] dev-libs/expat acl? ( virtual/acl ) ncurses? ( sys-libs/ncurses:0= ) - java? ( >=virtual/jdk-1.8:* )" + java? ( virtual/jdk:1.8 )" RDEPEND="${DEPEND} !git? ( cvs? ( dev-vcs/cvs ) ) git? ( dev-vcs/git ) - java? ( >=virtual/jre-1.8:* )" + java? ( virtual/jre:1.8 )" BDEPEND=" !git? ( cvs? ( dev-vcs/cvs ) ) git? ( dev-vcs/git ) @@ -78,11 +78,6 @@ src_prepare() { java-pkg-opt-2_src_prepare default elibtoolize - if use java; then - # Update the target version for libintl - sed -i -e "s/target_version=1.6/target_version=$(java-pkg_get-target)/" \ - gettext-runtime/configure || die - fi } multilib_src_configure() { @@ -124,11 +119,6 @@ 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[@]}" } |