summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-06-01 11:10:21 +0200
committerFlorian Schmaus <flow@gentoo.org>2024-06-30 22:18:02 +0200
commit9710dca8c320423fe6e4e2e873c12fbc9fd3b3f7 (patch)
treea3701af5a4ddc7f0b1c8c89a41b37b93b2cf277a /dev-lang
parentdev-lang/mercury: add github upstream metadata (diff)
downloadgentoo-9710dca8c320423fe6e4e2e873c12fbc9fd3b3f7.tar.gz
gentoo-9710dca8c320423fe6e4e2e873c12fbc9fd3b3f7.tar.bz2
gentoo-9710dca8c320423fe6e4e2e873c12fbc9fd3b3f7.zip
dev-lang/mercury: avoid jdk in RDEPEND
according to Java_Developer_Guide Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/mercury/mercury-22.01.1-r1.ebuild (renamed from dev-lang/mercury/mercury-22.01.1.ebuild)14
1 files changed, 8 insertions, 6 deletions
diff --git a/dev-lang/mercury/mercury-22.01.1.ebuild b/dev-lang/mercury/mercury-22.01.1-r1.ebuild
index 37e98fc591fe..1e265cff12ff 100644
--- a/dev-lang/mercury/mercury-22.01.1.ebuild
+++ b/dev-lang/mercury/mercury-22.01.1-r1.ebuild
@@ -12,6 +12,7 @@ DESCRIPTION="Mercury is a modern general-purpose logic/functional programming la
HOMEPAGE="https://mercurylang.org"
SRC_URI="https://dl.mercurylang.org/release/${MY_P}.tar.gz
https://dev.gentoo.org/~keri/distfiles/mercury/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
+S="${WORKDIR}"/${MY_P}
LICENSE="GPL-2 LGPL-2"
SLOT="0"
@@ -20,18 +21,19 @@ KEYWORDS="amd64 x86"
IUSE="debug doc emacs examples java mono profile readline test threads trail"
RESTRICT="!test? ( test )"
-DEPEND="net-libs/libnsl:0=
+COMMON_DEP="net-libs/libnsl:0=
readline? ( sys-libs/readline:= )
- java? ( >=virtual/jdk-1.8:* )
mono? ( dev-lang/mono )
doc? ( sys-apps/texinfo )"
-RDEPEND="${DEPEND}
- emacs? ( >=app-editors/emacs-23.1:* )"
+DEPEND="${COMMON_DEP}
+ java? ( >=virtual/jdk-1.8:* )"
-BDEPEND="test? ( sys-libs/timezone-data )"
+RDEPEND="${COMMON_DEP}
+ emacs? ( >=app-editors/emacs-23.1:* )
+ java? ( >=virtual/jre-1.8:* )"
-S="${WORKDIR}"/${MY_P}
+BDEPEND="test? ( sys-libs/timezone-data )"
SITEFILE=50${PN}-gentoo.el