git: 5a7c1cce4080 - main - Mk/bsd.ruby.mk: Remove PLIST_SUB helpers

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 22 May 2022 05:17:18 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5a7c1cce4080dfc64f0c59830f2180b1e9994f0c

commit 5a7c1cce4080dfc64f0c59830f2180b1e9994f0c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-22 04:27:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-22 05:11:34 +0000

    Mk/bsd.ruby.mk: Remove PLIST_SUB helpers
    
    These PLIST_SUB helpers are not being used for many years.
    AFAIK, I've never seen RUBY25 or above being used anywhere.
---
 Mk/bsd.ruby.mk | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 07a995d6451f..dc71aa3bf1ad 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -136,7 +136,6 @@ RUBY?=			${LOCALBASE}/bin/ruby${RUBY_SUFFIX}
 RUBY_DISTVERSION=	2.7.6
 RUBY_PORTREVISION=	2
 RUBY_PORTEPOCH=		1
-RUBY27=			""	# PLIST_SUB helpers
 
 .      elif ${RUBY_VER} == 3.0
 #
@@ -145,7 +144,6 @@ RUBY27=			""	# PLIST_SUB helpers
 RUBY_DISTVERSION=	3.0.4
 RUBY_PORTREVISION=	2
 RUBY_PORTEPOCH=		1
-RUBY30=			""	# PLIST_SUB helpers
 .      elif ${RUBY_VER} == 3.1
 #
 # Ruby 3.1
@@ -153,7 +151,6 @@ RUBY30=			""	# PLIST_SUB helpers
 RUBY_DISTVERSION=	3.1.2
 RUBY_PORTREVISION=	1
 RUBY_PORTEPOCH=		1
-RUBY31=			""	# PLIST_SUB helpers
 
 .      elif ${RUBY_VER} == 3.2
 #
@@ -162,7 +159,6 @@ RUBY31=			""	# PLIST_SUB helpers
 RUBY_DISTVERSION=	3.2.0-preview1
 RUBY_PORTREVISION=	2
 RUBY_PORTEPOCH=		1
-RUBY32=			""	# PLIST_SUB helpers
 
 # When adding a version, please keep the comment in
 # Mk/bsd.default-versions.mk in sync.
@@ -281,11 +277,7 @@ PLIST_SUB+=		${PLIST_RUBY_DIRS:C,DIR="(${LOCALBASE}|${PREFIX})/,DIR=",} \
 			RUBY_SHLIBVER="${RUBY_SHLIBVER}" \
 			RUBY_ARCH="${RUBY_ARCH}" \
 			RUBY_SUFFIX="${RUBY_SUFFIX}" \
-			RUBY_DEFAULT_SUFFIX="${RUBY_DEFAULT_SUFFIX}" \
-			RUBY27=${RUBY27} \
-			RUBY30=${RUBY30} \
-			RUBY31=${RUBY31} \
-			RUBY32=${RUBY32}
+			RUBY_DEFAULT_SUFFIX="${RUBY_DEFAULT_SUFFIX}"
 
 .    if ${PORT_OPTIONS:MDEBUG}
 RUBY_FLAGS+=	-d