git: b0b86789e5e8 - main - lang/ruby32: Fix CPE_STR
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Feb 2025 08:53:08 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b0b86789e5e8f76f6b82bfa26db24ee56a08a0e7
commit b0b86789e5e8f76f6b82bfa26db24ee56a08a0e7
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-17 08:21:20 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-17 08:21:20 +0000
lang/ruby32: Fix CPE_STR
RUBY_RELVERSION and RUBY_PATCHLEVEL have been removed in a1a91e4c937a8664ae4b4bedca114e40c46e3d14.
This commit fixes the CPE_STR.
For example:
- Before:
cpe:2.3:a:ruby-lang:ruby::p::::freebsd14:x64
- After:
cpe:2.3:a:ruby-lang:ruby:3.2.7:p0::::freebsd14:x64
---
lang/ruby32/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lang/ruby32/Makefile b/lang/ruby32/Makefile
index 45894febd124..31cee5f5e148 100644
--- a/lang/ruby32/Makefile
+++ b/lang/ruby32/Makefile
@@ -21,8 +21,7 @@ RUN_DEPENDS= libffi>=0:devel/libffi
USES= autoreconf cpe localbase ruby:none ssl tar:xz
CPE_VENDOR= ruby-lang
-CPE_VERSION= ${RUBY_RELVERSION}
-CPE_UPDATE= p${RUBY_PATCHLEVEL}
+CPE_UPDATE= p0
USE_LDCONFIG= yes
# We get these from other ports