dev-lang/mercury: keep java/csharp module directories
authorKeri Harris <keri@gentoo.org>
Thu, 19 Jul 2018 08:55:26 +0000 (10:55 +0200)
committerKeri Harris <keri@gentoo.org>
Thu, 19 Jul 2018 08:55:53 +0000 (10:55 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-lang/mercury/mercury-14.01.1.ebuild

index e45c8ecaeee727d508a97eb8471d8486f8d5c6d5..e49b1099762447fa7b40f191e5fb04c98c7bd6fe 100644 (file)
@@ -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"