Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2023 01:38:11 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7659964cabf4 - main - math/colpack: allow to build without GCC
Message-ID:  <202308120138.37C1cBCX038760@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7659964cabf4a21fa73e7d41948dc5001e4c7944

commit 7659964cabf4a21fa73e7d41948dc5001e4c7944
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-08-11 14:20:45 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-08-12 01:37:43 +0000

    math/colpack: allow to build without GCC
---
 math/colpack/Makefile | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/math/colpack/Makefile b/math/colpack/Makefile
index 4dcd6faa5a29..ed689e88671b 100644
--- a/math/colpack/Makefile
+++ b/math/colpack/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	colpack
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.0.10-249
+PORTREVISION=	1
 DISTVERSIONSUFFIX=	-g9a7293a
 CATEGORIES=	math
 
@@ -11,7 +12,7 @@ WWW=		https://github.com/CSCsw/ColPack
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake
+USES=		cmake compiler:gcc-c++11-lib
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
@@ -20,10 +21,4 @@ GH_PROJECT=	ColPack
 
 CMAKE_SOURCE_PATH=	${WRKSRC}/build/cmake
 
-.if !exists(/usr/include/omp.h)
-USES+=		compiler:gcc-c++11-lib
-.else
-USES+=		compiler:c++11-lang
-.endif
-
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308120138.37C1cBCX038760>