diff options
-rw-r--r-- | graphics/rawtherapee-devel/Makefile | 7 |
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: |