summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2020-09-21 20:54:33 +0200
committerKeri Harris <keri@gentoo.org>2020-09-21 20:55:01 +0200
commitb29fd38aa2ae77e2a62ed00c9dfca40fb7593f57 (patch)
tree86027f5f778a01a3dd1e8a1dcafa7859ef79b496 /dev-lang/cxprolog/cxprolog-0.98.2.ebuild
parentdev-ruby/ruby_parser: stable 3.14.2 for hppa, bug #743220 (diff)
downloadgentoo-b29fd38aa2ae77e2a62ed00c9dfca40fb7593f57.tar.gz
gentoo-b29fd38aa2ae77e2a62ed00c9dfca40fb7593f57.tar.bz2
gentoo-b29fd38aa2ae77e2a62ed00c9dfca40fb7593f57.zip
dev-lang/cxprolog: specify prolog.java location for unit tests
Package-Manager: Portage-3.0.4, Repoman-2.3.22 Signed-off-by: Keri Harris <keri@gentoo.org>
Diffstat (limited to 'dev-lang/cxprolog/cxprolog-0.98.2.ebuild')
-rw-r--r--dev-lang/cxprolog/cxprolog-0.98.2.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-lang/cxprolog/cxprolog-0.98.2.ebuild b/dev-lang/cxprolog/cxprolog-0.98.2.ebuild
index d1b773c84e5..a89a12f52e4 100644
--- a/dev-lang/cxprolog/cxprolog-0.98.2.ebuild
+++ b/dev-lang/cxprolog/cxprolog-0.98.2.ebuild
@@ -93,6 +93,12 @@ src_compile() {
cxprolog_src_test() {
cd "${S}"/pl
+ if use java; then
+ local test_javadir="${S}"/pl/$(get_libdir)/cxprolog/java
+ mkdir -p "${test_javadir}" || die
+ ln -s "${S}"/dist/prolog.jar "${test_javadir}"/prolog.jar || die
+ fi
+
LD_LIBRARY_PATH="${S}" \
"${S}"/cxprolog_shared \
--boot "${S}"/cx_dev_boot.pl \