git: b415b7dd7369 - main - devel/mimalloc: Update to 2.0.1
Emanuel Haupt
ehaupt at FreeBSD.org
Sun May 2 11:51:35 UTC 2021
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b415b7dd7369519d47cb731146541ad036cd18fe
commit b415b7dd7369519d47cb731146541ad036cd18fe
Author: Yuri Victorovich <yuri at freebsd.org>
AuthorDate: 2021-05-02 11:49:48 +0000
Commit: Emanuel Haupt <ehaupt at FreeBSD.org>
CommitDate: 2021-05-02 11:49:48 +0000
devel/mimalloc: Update to 2.0.1
While here pacify portclippy.
PR: 255537
---
devel/mimalloc/Makefile | 11 +++++++++--
devel/mimalloc/distinfo | 6 +++---
devel/mimalloc/pkg-plist | 21 ++++++++++-----------
3 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/devel/mimalloc/Makefile b/devel/mimalloc/Makefile
index 0a865ea44bb2..fd80175e17d6 100644
--- a/devel/mimalloc/Makefile
+++ b/devel/mimalloc/Makefile
@@ -2,7 +2,7 @@
PORTNAME= mimalloc
DISTVERSIONPREFIX= v
-DISTVERSION= 2.0.0
+DISTVERSION= 2.0.1
CATEGORIES= devel
MAINTAINER= ehaupt at FreeBSD.org
@@ -14,13 +14,20 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS_i386= libatomic_ops>0:devel/libatomic_ops
USES= cmake compiler:gcc-c++11-lib
-
USE_GITHUB= yes
GH_ACCOUNT= microsoft
+USE_LDCONFIG= yes
+
+CMAKE_ON= MI_INSTALL_TOPLEVEL
LDFLAGS_i386+= -latomic
# ci pipeline creates transient tags
PORTSCOUT= ignore:1
+post-install: # workaround for https://github.com/microsoft/mimalloc/issues/398
+ cd ${STAGEDIR}${PREFIX} && \
+ ${MV} libmimalloc.a lib && \
+ ${RM} mimalloc.o
+
.include <bsd.port.mk>
diff --git a/devel/mimalloc/distinfo b/devel/mimalloc/distinfo
index 0272ac19f10f..7762c644708b 100644
--- a/devel/mimalloc/distinfo
+++ b/devel/mimalloc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1615494480
-SHA256 (microsoft-mimalloc-v2.0.0_GH0.tar.gz) = f6d01c178f8094a0d986642ca7fed632997a5606ddc619619225f2f8688d9232
-SIZE (microsoft-mimalloc-v2.0.0_GH0.tar.gz) = 909032
+TIMESTAMP = 1619919374
+SHA256 (microsoft-mimalloc-v2.0.1_GH0.tar.gz) = a25c096dbd100b5f872bf458c080ebe539dbb8275c76e44e1f02b07341e6ca04
+SIZE (microsoft-mimalloc-v2.0.1_GH0.tar.gz) = 909919
diff --git a/devel/mimalloc/pkg-plist b/devel/mimalloc/pkg-plist
index cc55664364a6..ab399da4d39f 100644
--- a/devel/mimalloc/pkg-plist
+++ b/devel/mimalloc/pkg-plist
@@ -1,11 +1,10 @@
-lib/mimalloc-2.0/cmake/mimalloc-config-version.cmake
-lib/mimalloc-2.0/cmake/mimalloc-config.cmake
-lib/mimalloc-2.0/cmake/mimalloc-%%CMAKE_BUILD_TYPE%%.cmake
-lib/mimalloc-2.0/cmake/mimalloc.cmake
-lib/mimalloc-2.0/include/mimalloc-new-delete.h
-lib/mimalloc-2.0/include/mimalloc-override.h
-lib/mimalloc-2.0/include/mimalloc.h
-lib/mimalloc-2.0/libmimalloc.a
-lib/mimalloc-2.0/libmimalloc.so
-lib/mimalloc-2.0/libmimalloc.so.2.0
-lib/mimalloc-2.0/mimalloc.o
+cmake/mimalloc-config-version.cmake
+cmake/mimalloc-config.cmake
+cmake/mimalloc-%%CMAKE_BUILD_TYPE%%.cmake
+cmake/mimalloc.cmake
+include/mimalloc-new-delete.h
+include/mimalloc-override.h
+include/mimalloc.h
+lib/libmimalloc.a
+lib/libmimalloc.so
+lib/libmimalloc.so.2.0
More information about the dev-commits-ports-all
mailing list