aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-08-11 14:20:45 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-08-12 01:37:43 +0000
commit7659964cabf4a21fa73e7d41948dc5001e4c7944 (patch)
treeb3118264eab1d51c4ce12beaca4f3fb6300fe0cc
parent8fa8f247a8e0a791534b3aa6708cdbe3e7bb75b5 (diff)
downloadports-7659964cabf4a21fa73e7d41948dc5001e4c7944.tar.gz
ports-7659964cabf4a21fa73e7d41948dc5001e4c7944.zip
math/colpack: allow to build without GCC
-rw-r--r--math/colpack/Makefile9
1 files 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>