freebsd-ports/math/colpack/Makefile
Piotr Kubaj 6281532dad math/colpack: fix build on powerpc
CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
2021-07-24 02:03:41 +00:00

30 lines
515 B
Makefile

PORTNAME= colpack
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.10-249
DISTVERSIONSUFFIX= -g9a7293a
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Graph Coloring Algorithm Package
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= CSCsw
GH_PROJECT= ColPack
CMAKE_SOURCE_PATH= ${WRKSRC}/build/cmake
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler:c++11-lang
.endif
.include <bsd.port.mk>