Correct build for ruby 2.7.

Ruby 2.6 has following files available:
1 lrwxr-xr-x  1 root  wheel    6 Oct 13 10:45 /usr/local/bin/rdoc -> rdoc26
5 -rwxr-xr-x  1 root  wheel  518 Oct 13 10:44 /usr/local/bin/rdoc26

Ruby 2.7 has:
6 -rwxr-xr-x  1 root  wheel  518 Nov 23 07:28 /usr/local/bin/rdoc

So there is no need to have a version included for the rdoc command.
This commit is contained in:
Matthias Fechner 2020-11-23 11:50:46 +00:00
parent d19ad19c33
commit 7278f0a611
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556104

View File

@ -29,7 +29,7 @@ PORTDOCS= *
do-build:
.if ${PORT_OPTIONS:MDOCS}
cd ${BUILD_WRKSRC}; ${LOCALBASE}/bin/rdoc${RUBY_SUFFIX} ${LIB_FILES}
cd ${BUILD_WRKSRC}; ${LOCALBASE}/bin/rdoc ${LIB_FILES}
.endif
do-install: