pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ruby



Module Name:    pkgsrc
Committed By:   taca
Date:           Thu Jan  2 06:44:20 UTC 2025

Modified Files:
        pkgsrc/lang/ruby: platform.mk

Log Message:
lang/ruby: remove unused SUBST

Recent Ruby (base) packages do not substitution for
lib/rubygems/config_file.rb any more.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/ruby/platform.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/ruby/platform.mk
diff -u pkgsrc/lang/ruby/platform.mk:1.13 pkgsrc/lang/ruby/platform.mk:1.14
--- pkgsrc/lang/ruby/platform.mk:1.13   Tue May 17 00:42:33 2022
+++ pkgsrc/lang/ruby/platform.mk        Thu Jan  2 06:44:20 2025
@@ -1,4 +1,4 @@
-# $NetBSD: platform.mk,v 1.13 2022/05/17 00:42:33 gutteridge Exp $
+# $NetBSD: platform.mk,v 1.14 2025/01/02 06:44:20 taca Exp $
 #
 
 #
@@ -23,7 +23,7 @@ t:=RUBY_${s:tu:S/-/_/g}_VER
 v:=${${t}}
 .  if !empty(v)
 _RUBY_PLIST_SUBST:=    ${_RUBY_PLIST_SUBST}  ${t}=${v}
-_RUBY_PLIST_AWK:=      ${_RUBY_PLIST_AWK} { sub(/${s}-${v}/, "${s}-$${${t}}"); }
+_RUBY_PLIST_AWK:=      ${_RUBY_PLIST_AWK} { sub(/${s}-${v:S/./\\./g}/, "${s}-$${${t}}"); }
 .  endif
 .endfor
 
@@ -37,16 +37,6 @@ REQD_DIRS+=  ${GEM_HOME}/cache
 REQD_DIRS+=    ${GEM_HOME}/doc
 
 #
-# substitute path in rubygems.
-#
-SUBST_CLASSES+=                conf
-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 expects it could
 # be executed by an unprivileged user.
 #



Home | Main Index | Thread Index | Old Index