aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index ba8d2dac6e8c..0c986e8eeb28 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -256,7 +256,9 @@ RUBY_SHLIBVER?= ${RUBY_VER:S/.//}
RUBY_CONFIGURE_ARGS+= --program-prefix=""
+.if ${RUBY_VER} != ${RUBY_DEFAULT_VER}
DEPENDS_ARGS+= RUBY_VER=${RUBY_VER}
+.endif
RUBY_CONFIGURE_ARGS+= --program-suffix="${RUBY_SUFFIX}"