git: 169b8d35ec7a - main - devel/mimalloc: Don't depend on gcc

Emanuel Haupt ehaupt at FreeBSD.org
Fri Aug 20 14:30:38 UTC 2021


The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=169b8d35ec7ae204ad56af65f9fa330f9f9ef892

commit 169b8d35ec7ae204ad56af65f9fa330f9f9ef892
Author:     Emanuel Haupt <ehaupt at FreeBSD.org>
AuthorDate: 2021-08-20 14:28:23 +0000
Commit:     Emanuel Haupt <ehaupt at FreeBSD.org>
CommitDate: 2021-08-20 14:30:23 +0000

    devel/mimalloc: Don't depend on gcc
    
    - No longer depend on gcc
    - Add a test target
    - Pacify portclippy/portfmt
    
    Reported by:    diizzy
---
 devel/mimalloc/Makefile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/devel/mimalloc/Makefile b/devel/mimalloc/Makefile
index a62fe4bc2030..9aa9f3e7a751 100644
--- a/devel/mimalloc/Makefile
+++ b/devel/mimalloc/Makefile
@@ -3,6 +3,7 @@
 PORTNAME=	mimalloc
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.0.2
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	ehaupt at FreeBSD.org
@@ -11,17 +12,15 @@ COMMENT=	General-purpose allocator with excellent performance characteristics
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS_i386=	libatomic_ops>0:devel/libatomic_ops
-
-USES=		cmake compiler:gcc-c++11-lib
+USES=		cmake compiler:c++17-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	microsoft
 USE_LDCONFIG=	yes
 
 CMAKE_ON=	MI_INSTALL_TOPLEVEL
+TEST_TARGET=	test
 
-LDFLAGS_i386=	-latomic
-LDFLAGS_powerpc=-latomic
+LDFLAGS_powerpc=	-latomic
 
 # ci pipeline creates transient tags
 PORTSCOUT=	ignore:1


More information about the dev-commits-ports-main mailing list