Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2017 13:50:15 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430467 - head/graphics/rawtherapee-devel
Message-ID:  <201701031350.v03DoF6H008685@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701031350.v03DoF6H008685>