git: 9ae4714cc3d4 - main - devel/mimalloc: Use upstream release archive

Daniel Engberg <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <6a6da128.1fc04.65abe626__43854.4457125076$1785569688$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9ae4714cc3d4ece1e68392312aa02d5781093846

commit 9ae4714cc3d4ece1e68392312aa02d5781093846
Author:     Daniel Engberg <[email protected]>
AuthorDate: 2026-08-01 06:53:42 +0000
Commit:     Daniel Engberg <[email protected]>
CommitDate: 2026-08-01 07:32:29 +0000

    devel/mimalloc: Use upstream release archive
    
    Strip first directly level as it contains git commit hash
    
    PR:             296797
    Reviewed by:    ehaupt (maintainer)
---
 devel/mimalloc/Makefile | 7 +++++--
 devel/mimalloc/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/devel/mimalloc/Makefile b/devel/mimalloc/Makefile
index 6745df074d87..9d3dce4d27d7 100644
--- a/devel/mimalloc/Makefile
+++ b/devel/mimalloc/Makefile
@@ -2,6 +2,8 @@ PORTNAME=	mimalloc
 DISTVERSIONPREFIX=	v
 DISTVERSION=	3.4.3
 CATEGORIES=	devel
+MASTER_SITES=	https://github.com/microsoft/${PORTNAME}/releases/download/v${DISTVERSION}/
+DISTNAME=	${PORTNAME}-v${DISTVERSION}-source
 
 MAINTAINER=	[email protected]
 COMMENT=	General-purpose allocator with excellent performance characteristics
@@ -11,10 +13,11 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		cmake:testing compiler:c++17-lang pathfix
-USE_GITHUB=	yes
-GH_ACCOUNT=	microsoft
 USE_LDCONFIG=	yes
 
+EXTRACT_AFTER_ARGS=	--strip-components 1 --no-same-permission --no-same-owner
+NO_WRKSUBDIR=	yes
+
 CMAKE_ON=	MI_INSTALL_TOPLEVEL
 CMAKE_OFF=	MI_BUILD_OBJECT MI_BUILD_TESTS
 
diff --git a/devel/mimalloc/distinfo b/devel/mimalloc/distinfo
index f14e5984ec04..2684f7d9ea53 100644
--- a/devel/mimalloc/distinfo
+++ b/devel/mimalloc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1785511073
-SHA256 (microsoft-mimalloc-v3.4.3_GH0.tar.gz) = 7b043c26b64dde66344d144fbcac3664858a4eb32197793ea2a18feb32741ca1
-SIZE (microsoft-mimalloc-v3.4.3_GH0.tar.gz) = 1414132
+TIMESTAMP = 1785574309
+SHA256 (mimalloc-v3.4.3-source.tar.gz) = d1d411db107492319940bc2c4a8dcd4ded1f85c8b75128718385698f79722ab4
+SIZE (mimalloc-v3.4.3-source.tar.gz) = 1414955
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.