summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2017-01-03 13:50:15 +0000
committerMatthias Andree <mandree@FreeBSD.org>2017-01-03 13:50:15 +0000
commit4126604f4fc03fc116ce20d3a093d83cc839cc85 (patch)
tree05985e861d412aabf6a1865ce87a44bec6e2f4b7
parentFix compilation on FreeBSD 11+. (diff)
Really enable OpenMP. Bump PORTREVISION.
Notes
Notes: svn path=/head/; revision=430467
-rw-r--r--graphics/rawtherapee-devel/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/rawtherapee-devel/Makefile b/graphics/rawtherapee-devel/Makefile
index deb8742658df..d4204d28a048 100644
--- a/graphics/rawtherapee-devel/Makefile
+++ b/graphics/rawtherapee-devel/Makefile
@@ -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: