Date: Sun, 18 Jul 2021 22:07:56 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2bb087ae1291 - main - Mk/bsd.ruby.mk: Clean up unused RUBY_REQUIRE Message-ID: <202107182207.16IM7uM4074459@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2bb087ae1291834566f42137cb06b37990d6cbae commit 2bb087ae1291834566f42137cb06b37990d6cbae Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-07-18 21:44:41 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-07-18 22:07:08 +0000 Mk/bsd.ruby.mk: Clean up unused RUBY_REQUIRE --- Mk/bsd.ruby.mk | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index a70cc4cab026..b933608d0f6b 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -37,12 +37,6 @@ Ruby_Include_MAINTAINER= ruby@FreeBSD.org # build. # RUBY_SETUP - Set to the alternative name of setup.rb # (default: setup.rb). -# 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 -# expression will be set to RUBY_PROVIDED, which is -# left undefined if the result is nil, false or a -# zero-length string. Implies USE_RUBY. # USE_RUBYGEMS - Do not use this -- instead USES=gem # # [variables that each port should not (re)define] @@ -293,23 +287,6 @@ PLIST_SUB+= ${PLIST_RUBY_DIRS:C,DIR="(${LOCALBASE}|${PREFIX})/,DIR=",} \ RUBY27=${RUBY27} \ RUBY30=${RUBY30} -# require check -.if defined(RUBY_REQUIRE) -USE_RUBY= yes - -.if exists(${RUBY}) -RUBY_PROVIDED!= ${RUBY} -e '\ - Ruby = ${RUBY_RELVERSION_CODE}; \ - value = begin; ${RUBY_REQUIRE}; end and puts value' -.else -RUBY_PROVIDED= "should be" # the latest version is going to be installed -.endif - -.if empty(RUBY_PROVIDED) -.undef RUBY_PROVIDED -.endif -.endif - .if ${PORT_OPTIONS:MDEBUG} RUBY_FLAGS+= -d .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107182207.16IM7uM4074459>