Revert "math/colpack: allow to build without GCC"
A mistake during testing happened.
This reverts commit 7659964cab
.
Reported by: Max Brazhnikov <makc@freebsd.org>
This commit is contained in:
parent
4011448dbe
commit
1f28e9b483
1 changed files with 7 additions and 1 deletions
|
@ -12,7 +12,7 @@ WWW= https://github.com/CSCsw/ColPack
|
|||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= cmake compiler:gcc-c++11-lib
|
||||
USES= cmake
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
@ -21,4 +21,10 @@ 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>
|
||||
|
|
Loading…
Reference in a new issue