diff --git a/science/phonopy/Makefile b/science/phonopy/Makefile index f1f7a48f31f5..ab3fdc335cb7 100644 --- a/science/phonopy/Makefile +++ b/science/phonopy/Makefile @@ -1,26 +1,29 @@ PORTNAME= phonopy DISTVERSIONPREFIX= v DISTVERSION= 2.17.2 CATEGORIES= science python MAINTAINER= yuri@FreeBSD.org COMMENT= Package for phonon calculations at harmonic and quasi-harmonic levels WWW= https://phonopy.github.io/phonopy/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake +.if !exists(/usr/local/omp.h) +USES+= compiler:gcc-c++11-lib +.endif USE_LDCONFIG= yes USE_GITHUB= yes CMAKE_ON= PHONOPY BUILD_SHARED_LIBRARIES PLIST_FILES= include/phonopy.h \ lib/libphpy.a \ lib/libphpy.so \ lib/libphpy.so.1 \ lib/libphpy.so.${DISTVERSION} .include