git: 31b180d04ebf - main - lang/ruby33: Fix CPE_STR

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 17 Feb 2025 08:53:09 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=31b180d04ebfa29044b61eb45556f5e798ddb094

commit 31b180d04ebfa29044b61eb45556f5e798ddb094
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-17 08:21:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-17 08:21:22 +0000

    lang/ruby33: 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.3.7:p0::::freebsd14:x64
---
 lang/ruby33/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lang/ruby33/Makefile b/lang/ruby33/Makefile
index ebbae9e20b34..1cb989b6f7a1 100644
--- a/lang/ruby33/Makefile
+++ b/lang/ruby33/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