summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-05-04 04:53:53 +0000
committerrillig <rillig@pkgsrc.org>2020-05-04 04:53:53 +0000
commitbece535f7481a41ae35022da62ad14322a1375dc (patch)
tree011f4f94d0b634d2567c9762ea197d302b141fdc
parent0741405047ba2bdb4dfbec4b6190a849cc449d65 (diff)
downloadpkgsrc-bece535f7481a41ae35022da62ad14322a1375dc.tar.gz
lang/ruby: make patching config_file.rb optional
ruby26-base and beyond don't need this patch anymore. They get the configuration directory from Gem::ConfigFile::SYSTEM_CONFIG_PATH, which is set to RbConfig::CONFIG["sysconfdir"], which in turn is set to PKGSYSCONFDIR.
-rw-r--r--lang/ruby/platform.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/ruby/platform.mk b/lang/ruby/platform.mk
index 23afb8797cb..e364a2e3fa3 100644
--- a/lang/ruby/platform.mk
+++ b/lang/ruby/platform.mk
@@ -1,4 +1,4 @@
-# $NetBSD: platform.mk,v 1.7 2020/03/04 10:30:46 nia Exp $
+# $NetBSD: platform.mk,v 1.8 2020/05/04 04:53:53 rillig Exp $
#
#
@@ -25,6 +25,7 @@ SUBST_STAGE.conf= pre-install
SUBST_FILES.conf= lib/rubygems/config_file.rb
SUBST_VARS.conf= PKG_SYSCONFDIR
SUBST_MESSAGE.conf= Fixing configuration files.
+SUBST_NOOP_OK.conf= yes # not needed for ruby-base>=2.6
#
# Don't reference pkgsrc's INSTALL macro since Ruby expect it could