diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-03-04 10:06:01 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-03-04 10:08:50 +0000 |
commit | fc5d9932316455e63332290d9fdf06308f5a9650 (patch) | |
tree | 715217f86e2222013bafda17895a8c4941ad5f9e /dev-lang/nim | |
parent | package.use.mask: mask dev-lang/nim[test] on x32 (needs masked nodejs) (diff) | |
download | gentoo-fc5d9932316455e63332290d9fdf06308f5a9650.tar.gz gentoo-fc5d9932316455e63332290d9fdf06308f5a9650.tar.bz2 gentoo-fc5d9932316455e63332290d9fdf06308f5a9650.zip |
dev-lang/nim: add nodejs test dependency, bug #649488
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/649488
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-lang/nim')
-rw-r--r-- | dev-lang/nim/nim-0.18.0.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-lang/nim/nim-0.18.0.ebuild b/dev-lang/nim/nim-0.18.0.ebuild index 8b6f54d235fa..72b78f95f1c2 100644 --- a/dev-lang/nim/nim-0.18.0.ebuild +++ b/dev-lang/nim/nim-0.18.0.ebuild @@ -14,10 +14,13 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~x86" IUSE="doc +readline test" -DEPEND=" +RDEPEND=" readline? ( sys-libs/readline:0= ) " -RDEPEND="${DEPEND}" +DEPEND=" + ${DEPEND} + test? ( net-libs/nodejs ) +" nim_use_enable() { [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>" |