svn commit: r430467 - head/graphics/rawtherapee-devel

Matthias Andree mandree at FreeBSD.org
Tue Jan 3 13:50:16 UTC 2017


Author: mandree
Date: Tue Jan  3 13:50:15 2017
New Revision: 430467
URL: https://svnweb.freebsd.org/changeset/ports/430467

Log:
  Really enable OpenMP. Bump PORTREVISION.

Modified:
  head/graphics/rawtherapee-devel/Makefile

Modified: head/graphics/rawtherapee-devel/Makefile
==============================================================================
--- head/graphics/rawtherapee-devel/Makefile	Tue Jan  3 13:49:51 2017	(r430466)
+++ head/graphics/rawtherapee-devel/Makefile	Tue Jan  3 13:50:15 2017	(r430467)
@@ -3,7 +3,7 @@
 
 PORTNAME=	rawtherapee
 PORTVERSION=	4.2.99.git000
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://rawtherapee.com/shared/source/
 PKGNAMESUFFIX=	-devel
@@ -93,6 +93,11 @@ CXX=		clang++37
 # need to explicitely link to libm.so as well.
 OPENMP_FLAGS=	-L${LOCALBASE}/llvm37/lib -lm -lomp
 LDFLAGS+=	${OPENMP_FLAGS}
+
+# In cmake, the CMP0056 policy must be explicitely set to NEW to ensure
+# linker flags are passed.
+# See: https://cmake.org/cmake/help/v3.4/policy/CMP0056.html
+CMAKE_ARGS+=	-DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW
 .endif
 
 post-patch:


More information about the svn-ports-head mailing list