diff --git a/science/spglib/Makefile b/science/spglib/Makefile index 8b92284b2353..b79425cd2835 100644 --- a/science/spglib/Makefile +++ b/science/spglib/Makefile @@ -1,16 +1,20 @@ PORTNAME= spglib DISTVERSIONPREFIX= v DISTVERSION= 1.16.5 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= C library for finding and handling crystal symmetries LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake USE_GITHUB= yes USE_LDCONFIG= yes +.if !exists(/usr/include/omp.h) +CMAKE_ARGS+= -DUSE_OMP:BOOL=OFF +.endif + .include