Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby lang/ruby: make patching config_file.rb opti...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b70f7ba04370
branches:  trunk
changeset: 430777:b70f7ba04370
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon May 04 04:53:53 2020 +0000

description:
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.

diffstat:

 lang/ruby/platform.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r a8f9cd2bb910 -r b70f7ba04370 lang/ruby/platform.mk
--- a/lang/ruby/platform.mk     Mon May 04 04:45:49 2020 +0000
+++ b/lang/ruby/platform.mk     Mon May 04 04:53:53 2020 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index