Mk/bsd.ruby.mk: Clean up USE_RUBY_RDOC

USE_RUBY_RDOC is only used in 1 port (databases/ruby-bdb).
This commit is contained in:
Po-Chuan Hsieh 2021-07-16 04:35:43 +08:00
parent 0f0ea4f39e
commit 66151345cf
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -37,7 +37,6 @@ Ruby_Include_MAINTAINER= ruby@FreeBSD.org
# build.
# RUBY_SETUP - Set to the alternative name of setup.rb
# (default: setup.rb).
# USE_RUBY_RDOC - Says that the port uses rdoc to generate documents.
# RUBY_REQUIRE - Set to a Ruby expression to evaluate before building
# the port. The constant "Ruby" is set to the integer
# version number of ruby, and the result of the
@ -294,10 +293,6 @@ PLIST_SUB+= ${PLIST_RUBY_DIRS:C,DIR="(${LOCALBASE}|${PREFIX})/,DIR=",} \
RUBY27=${RUBY27} \
RUBY30=${RUBY30}
.if defined(USE_RUBY_RDOC)
MAKE_ENV+= RUBY_RDOC=${RUBY_RDOC}
.endif
# require check
.if defined(RUBY_REQUIRE)
USE_RUBY= yes