summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2018-07-19 10:55:26 +0200
committerKeri Harris <keri@gentoo.org>2018-07-19 10:55:53 +0200
commit6d5d2c9108c97e996c4ca920d58f3d16e697da18 (patch)
treed015d6bd73093f22808a52291fbf2a7eb012dbc5 /dev-lang/mercury
parentx11-themes/tactile3: Add desktop-misc as maintainer (diff)
downloadgentoo-6d5d2c9108c97e996c4ca920d58f3d16e697da18.tar.gz
gentoo-6d5d2c9108c97e996c4ca920d58f3d16e697da18.tar.bz2
gentoo-6d5d2c9108c97e996c4ca920d58f3d16e697da18.zip
dev-lang/mercury: keep java/csharp module directories
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-lang/mercury')
-rw-r--r--dev-lang/mercury/mercury-14.01.1.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-lang/mercury/mercury-14.01.1.ebuild b/dev-lang/mercury/mercury-14.01.1.ebuild
index e45c8ecaeee7..e49b10997624 100644
--- a/dev-lang/mercury/mercury-14.01.1.ebuild
+++ b/dev-lang/mercury/mercury-14.01.1.ebuild
@@ -157,6 +157,14 @@ src_install() {
INSTALL_ELISP_DIR="${D}/${SITELISP}"/${PN} \
install || die "emake install failed"
+ if use java; then
+ keepdir /usr/$(get_libdir)/mercury/modules/java
+ fi
+
+ if use mono; then
+ keepdir /usr/$(get_libdir)/mercury/modules/csharp
+ fi
+
if use emacs; then
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
|| die "elisp-site-file-install failed"