git: 47c3453edc6f - main - Mk/Uses/ruby.mk: Remove RUBY_PORTREVISION
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Jan 2026 15:34:01 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=47c3453edc6fc2b2d7718f5e09fcbeb0b5899d41
commit 47c3453edc6fc2b2d7718f5e09fcbeb0b5899d41
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-01-15 15:33:24 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-01-15 15:33:24 +0000
Mk/Uses/ruby.mk: Remove RUBY_PORTREVISION
RUBY_PORTREVISION is only used for lang/ruby{32,33,34,40}. These ports can set
PORTREVISION directly rather than defined in the shared Mk/Uses/ruby.mk.
---
Mk/Uses/ruby.mk | 7 -------
lang/ruby34/Makefile | 1 -
2 files changed, 8 deletions(-)
diff --git a/Mk/Uses/ruby.mk b/Mk/Uses/ruby.mk
index 6cb51f5b7b58..2caa8fda8de9 100644
--- a/Mk/Uses/ruby.mk
+++ b/Mk/Uses/ruby.mk
@@ -47,7 +47,6 @@
# ruby-gdbm, etc.).
# RUBY_PORTVERSION - PORTVERSION for the standard ruby ports (ruby,
# ruby-gdbm, etc.).
-# RUBY_PORTREVISION - PORTREVISION for the standard ruby ports.
# RUBY_PORTEPOCH - PORTEPOCH for the standard ruby ports.
# RUBY_DISTNAME - DISTNAME for the standard ruby ports, i.e. the
# basename of the ruby distribution tarball.
@@ -148,30 +147,24 @@ RUBY?= ${LOCALBASE}/bin/ruby${RUBY_SUFFIX}
# Ruby 3.2
#
RUBY_DISTVERSION= 3.2.9
-RUBY_PORTREVISION= 0
. elif ${RUBY_VER} == 3.3
#
# Ruby 3.3
#
RUBY_DISTVERSION= 3.3.10
-RUBY_PORTREVISION= 0
-
. elif ${RUBY_VER} == 3.4
#
# Ruby 3.4
#
RUBY_DISTVERSION= 3.4.8
-RUBY_PORTREVISION= 0
-
. elif ${RUBY_VER} == 4.0
#
# Ruby 4.0
#
RUBY_DISTVERSION= 4.0.0
-RUBY_PORTREVISION= 0
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
diff --git a/lang/ruby34/Makefile b/lang/ruby34/Makefile
index e40c33c9a0fa..3db8ee1270dc 100644
--- a/lang/ruby34/Makefile
+++ b/lang/ruby34/Makefile
@@ -1,6 +1,5 @@
PORTNAME= ruby
PORTVERSION= ${RUBY_DISTVERSION}
-PORTREVISION= ${RUBY_PORTREVISION}
PORTEPOCH= ${RUBY_PORTEPOCH}
CATEGORIES= lang ruby
MASTER_SITES= RUBY/${MASTER_SITE_SUBDIR_RUBY}