diff options
-rw-r--r-- | Mk/bsd.ruby.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index 077c31aa10e6..0c019682dd0a 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -248,7 +248,11 @@ RUBY_CONFIGURE_ARGS+= --program-suffix="${RUBY_SUFFIX}" RUBY_MODNAME?= ${PORTNAME} # Commands +.if ${RUBY_VER} < 2.7 RUBY_RDOC?= ${LOCALBASE}/bin/rdoc${RUBY_VER:S/.//} +.else +RUBY_RDOC?= ${LOCALBASE}/bin/rdoc +.endif # Ports RUBY_BASE_PORT?= lang/ruby${RUBY_VER:S/.//} |