aboutsummaryrefslogtreecommitdiff
path: root/devel/rubygem-prometheus-client-mmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/rubygem-prometheus-client-mmap/Makefile')
-rw-r--r--devel/rubygem-prometheus-client-mmap/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/rubygem-prometheus-client-mmap/Makefile b/devel/rubygem-prometheus-client-mmap/Makefile
index ef1fc4564365..afbcee7ba2af 100644
--- a/devel/rubygem-prometheus-client-mmap/Makefile
+++ b/devel/rubygem-prometheus-client-mmap/Makefile
@@ -1,6 +1,6 @@
PORTNAME= prometheus-client-mmap
-PORTVERSION= 1.2.9
-PORTREVISION= 2
+PORTVERSION= 1.2.10
+PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
@@ -12,7 +12,7 @@ LICENSE= APACHE20
RUN_DEPENDS= rubygem-base64>=0:converters/rubygem-base64 \
rubygem-bigdecimal>=0:math/rubygem-bigdecimal \
- rubygem-logger>=0:devel/rubygem-logger \
+ rubygem-logger-gitlab>=0:devel/rubygem-logger-gitlab \
rubygem-rb_sys>=0.9.109<0.10:lang/rubygem-rb_sys
USES= cargo gem gmake llvm:build
@@ -35,6 +35,11 @@ GEM_ENV+= MAKE=gmake
post-extract:
${CHMOD} -R o-w ${WRKSRC}
+# The project has a Cargo.lock which is a symlink to main folder, cleanup this symlink
+post-stage:
+ ${RM} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ext/fast_mmaped_file_rs/Cargo.lock
+ ${FIND} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ext -type d -empty -delete 2> /dev/null || ${TRUE}
+
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD