diff --git a/math/muparser/Makefile b/math/muparser/Makefile index 52285e44da55..78a47fe7804b 100644 --- a/math/muparser/Makefile +++ b/math/muparser/Makefile @@ -1,37 +1,33 @@ # Created by: Nicola Vitale PORTNAME= muparser PORTVERSION= 2.3.2 DISTVERSIONPREFIX= v CATEGORIES= math devel MAINTAINER= nivit@FreeBSD.org COMMENT= Mathematical expressions parser library written in C++ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/License.txt -USES= cmake +USES= cmake compiler:c++11-lang USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= beltoforion OPTIONS_DEFINE= EXAMPLES CMAKE_OFF= ENABLE_SAMPLES EXAMPLES_PORTEXAMPLES= * -.include - -.if ${ARCH} == armv7 || ${ARCH} == powerpc -USES+= compiler:gcc-c++11-lib -.else -USES+= compiler:c++11-lang +.if !exists(/usr/include/omp.h) +CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=OFF .endif post-install-EXAMPLES-on: cd ${WRKSRC} && ${COPYTREE_SHARE} samples ${STAGEDIR}${EXAMPLESDIR} .include