git: 1072e0a7e335 - 2024Q1 - devel/rubygem-prometheus-client-mmap: fix build problem

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Mon, 15 Jan 2024 12:09:30 UTC
The branch 2024Q1 has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1072e0a7e3351cd157d28ab5684007366e7423f4

commit 1072e0a7e3351cd157d28ab5684007366e7423f4
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2024-01-09 12:11:56 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-01-15 12:07:02 +0000

    devel/rubygem-prometheus-client-mmap: fix build problem
    
    No bump required as a package was never generated due to problem
    with gem.mk
    
    (cherry picked from commit 1dfebdcf08cac0479c0f30ca97126ae3a43caf0b)
---
 devel/rubygem-prometheus-client-mmap/Makefile | 6 ++++--
 devel/rubygem-prometheus-client-mmap/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/devel/rubygem-prometheus-client-mmap/Makefile b/devel/rubygem-prometheus-client-mmap/Makefile
index 91688b4f3585..e15123c0319e 100644
--- a/devel/rubygem-prometheus-client-mmap/Makefile
+++ b/devel/rubygem-prometheus-client-mmap/Makefile
@@ -13,8 +13,10 @@ RUN_DEPENDS=	rubygem-rb_sys>=0.9<1:lang/rubygem-rb_sys
 
 USES=		cargo gem gmake llvm:build
 
-# Required to be able to build the rust library the port uses
-GEMFILES:=	${DISTNAME}${GEM_EXT}
+# Required to be able to build the rust library the gem uses
+GEMFILES:=	${DISTNAME}.gem
+DISTFILES+=	${DISTNAME}.gem
+GEMS_SKIP_SUBDIR=	1
 CARGO_VENDOR_DIR=	${WRKSRC}/ext/fast_mmaped_file_rs/cargo-crates
 CARGO_CARGOTOML=	${WRKSRC}/ext/fast_mmaped_file_rs/Cargo.toml
 CARGO_CARGOLOCK=	${WRKSRC}/ext/fast_mmaped_file_rs/Cargo.lock
diff --git a/devel/rubygem-prometheus-client-mmap/distinfo b/devel/rubygem-prometheus-client-mmap/distinfo
index 85947a55e931..dbd7ac8c7cda 100644
--- a/devel/rubygem-prometheus-client-mmap/distinfo
+++ b/devel/rubygem-prometheus-client-mmap/distinfo
@@ -1,4 +1,6 @@
-TIMESTAMP = 1704205773
+TIMESTAMP = 1704799854
+SHA256 (prometheus-client-mmap-1.0.2.gem) = f88ef1d375f24b651970bef567101a53edcedd1f5c21922c0c0b3fbec623def5
+SIZE (prometheus-client-mmap-1.0.2.gem) = 58368
 SHA256 (rust/crates/ahash-0.8.3.crate) = 2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f
 SIZE (rust/crates/ahash-0.8.3.crate) = 42416
 SHA256 (rust/crates/aho-corasick-0.7.20.crate) = cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac
@@ -169,5 +171,3 @@ SHA256 (rust/crates/windows_x86_64_gnullvm-0.48.0.crate) = 7896dbc1f41e08872e9d5
 SIZE (rust/crates/windows_x86_64_gnullvm-0.48.0.crate) = 366536
 SHA256 (rust/crates/windows_x86_64_msvc-0.48.0.crate) = 1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a
 SIZE (rust/crates/windows_x86_64_msvc-0.48.0.crate) = 671422
-SHA256 (rubygem/prometheus-client-mmap-1.0.2.gem) = f88ef1d375f24b651970bef567101a53edcedd1f5c21922c0c0b3fbec623def5
-SIZE (rubygem/prometheus-client-mmap-1.0.2.gem) = 58368