summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2022-06-04 09:37:45 +0200
committerKeri Harris <keri@gentoo.org>2022-06-04 09:38:39 +0200
commite48f2c331e492f2eaceed70405eb6cce7b603cc8 (patch)
treeee2e90ca91bb88f9d4d9d99075f23cd270948b68 /dev-lang/swi-prolog
parentx11-terms/terminology: enable py3.11 (diff)
downloadgentoo-e48f2c331e492f2eaceed70405eb6cce7b603cc8.tar.gz
gentoo-e48f2c331e492f2eaceed70405eb6cce7b603cc8.tar.bz2
gentoo-e48f2c331e492f2eaceed70405eb6cce7b603cc8.zip
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>
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r--dev-lang/swi-prolog/swi-prolog-8.4.2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-lang/swi-prolog/swi-prolog-8.4.2.ebuild b/dev-lang/swi-prolog/swi-prolog-8.4.2.ebuild
index a249be4e3b7d..fc8d61141e4d 100644
--- a/dev-lang/swi-prolog/swi-prolog-8.4.2.ebuild
+++ b/dev-lang/swi-prolog/swi-prolog-8.4.2.ebuild
@@ -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}