Index: Makefile =================================================================== --- Makefile (Revision 432695) +++ Makefile (Arbeitskopie) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= darktable -PORTVERSION= 2.2.1 +PORTVERSION= 2.2.2 CATEGORIES= graphics MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/ @@ -95,10 +95,9 @@ .include -.if ${ARCH} == amd64 && ${COMPILER_TYPE} == clang +.if ${ARCH} == amd64 && ${CHOSEN_COMPILER_TYPE} == clang # Enable OpenMP support with Clang 3.7. BUILD_DEPENDS+= clang37:devel/llvm37 -RUN_DEPENDS+= clang37:devel/llvm37 CPP= clang-cpp37 CC= clang37 @@ -109,6 +108,8 @@ # need to explicitly link to libm.so as well. OPENMP_FLAGS= -L${LOCALBASE}/llvm37/lib -lm -lomp LDFLAGS+= ${OPENMP_FLAGS} +# required for a consistent libomp experience +LIB_DEPENDS+= libomp.so.0:devel/openmp # Last but not least, there is a second change or regression in CMake # 3.4.x: CMAKE_EXE_LINKER_FLAGS is not passed to TRY_COMPILE by default Index: distinfo =================================================================== --- distinfo (Revision 432695) +++ distinfo (Arbeitskopie) @@ -1,3 +1,3 @@ -TIMESTAMP = 1483541541 -SHA256 (darktable-2.2.1.tar.xz) = da843190f08e02df19ccbc02b9d1bef6bd242b81499494c7da2cccdc520e24fc -SIZE (darktable-2.2.1.tar.xz) = 3058236 +TIMESTAMP = 1485642944 +SHA256 (darktable-2.2.2.tar.xz) = 766d7d734e7bd5a33f6a6932a43b15cc88435c64ad9a0b20410ba5b4706941c2 +SIZE (darktable-2.2.2.tar.xz) = 3079424