From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1037318-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 48B65138334
	for <garchives@archives.gentoo.org>; Thu, 19 Jul 2018 08:56:06 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5766EE09C9;
	Thu, 19 Jul 2018 08:56:05 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 30BFBE09C9
	for <gentoo-commits@lists.gentoo.org>; Thu, 19 Jul 2018 08:56:05 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 1619B335CCC
	for <gentoo-commits@lists.gentoo.org>; Thu, 19 Jul 2018 08:56:04 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 84E0E2CC
	for <gentoo-commits@lists.gentoo.org>; Thu, 19 Jul 2018 08:56:02 +0000 (UTC)
From: "Keri Harris" <keri@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Keri Harris" <keri@gentoo.org>
Message-ID: <1531990553.6d5d2c9108c97e996c4ca920d58f3d16e697da18.keri@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/mercury/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-lang/mercury/mercury-14.01.1.ebuild
X-VCS-Directories: dev-lang/mercury/
X-VCS-Committer: keri
X-VCS-Committer-Name: Keri Harris
X-VCS-Revision: 6d5d2c9108c97e996c4ca920d58f3d16e697da18
X-VCS-Branch: master
Date: Thu, 19 Jul 2018 08:56:02 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: f8ba3114-3d01-4b2c-aea3-a87eea139fa3
X-Archives-Hash: 276ab34ecbe3872905d6aa212ad79ee7

commit:     6d5d2c9108c97e996c4ca920d58f3d16e697da18
Author:     Keri Harris <keri <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 19 08:55:26 2018 +0000
Commit:     Keri Harris <keri <AT> gentoo <DOT> org>
CommitDate: Thu Jul 19 08:55:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d5d2c91

dev-lang/mercury: keep java/csharp module directories

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-lang/mercury/mercury-14.01.1.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dev-lang/mercury/mercury-14.01.1.ebuild b/dev-lang/mercury/mercury-14.01.1.ebuild
index e45c8ecaeee..e49b1099762 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"