summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lang/nim/nim-0.18.0.ebuild7
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>"