dev-lang/swi-prolog: set up Java for JPL

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Keri Harris <keri@gentoo.org>
This commit is contained in:
Keri Harris
2022-06-04 09:37:45 +02:00
parent 5c991e0dae
commit e48f2c331e

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit cmake desktop xdg-utils flag-o-matic toolchain-funcs
inherit cmake desktop xdg-utils flag-o-matic toolchain-funcs java-pkg-opt-2
PATCHSET_VER="0"
@@ -53,6 +53,10 @@ BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/swipl-${PV}"
pkg_setup() {
java-pkg-opt-2_pkg_setup
}
src_prepare() {
if [[ -d "${WORKDIR}"/${PV} ]] ; then
eapply "${WORKDIR}"/${PV}