Index: head/math/ambit/Makefile =================================================================== --- head/math/ambit/Makefile (revision 454499) +++ head/math/ambit/Makefile (revision 454500) @@ -1,37 +1,39 @@ # $FreeBSD$ PORTNAME= ambit DISTVERSIONPREFIX= v DISTVERSION= 0.2-37 DISTVERSIONSUFFIX= -g9c7049a +PORTREVISION= 1 CATEGORIES= math +PKGNAMESUFFIX= -tensor # avoid clash with shells/ambit MAINTAINER= yuri@FreeBSD.org COMMENT= C++ library for tensor product calculations LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libhdf5.so:science/hdf5 \ libsz.so:science/szip USES= cmake:outsource USE_GITHUB= yes GH_ACCOUNT= jturney # some declared cmake options do nothing: see https://github.com/jturney/ambit/issues/25 and the patch CMAKE_ARGS+= -DSHARED_ONLY:BOOL=ON CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON # bug#223678: find_package(OpenMP) doesn't find the openmp package CMAKE_ARGS+= -DENABLE_TESTS:BOOL=OFF # https://github.com/jturney/ambit/issues/24 .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 # It requires clang version >3.6 BUILD_DEPENDS+= clang38:lang/clang38 RUN_DEPENDS+= clang38:lang/clang38 CC= clang38 CXX= clang++38 .endif .include