svn commit: r342947 - head/graphics/rawtherapee
Matthias Andree
mandree at FreeBSD.org
Thu Feb 6 07:53:27 UTC 2014
Author: mandree
Date: Thu Feb 6 07:53:27 2014
New Revision: 342947
URL: http://svnweb.freebsd.org/changeset/ports/342947
QAT: https://qat.redports.org/buildarchive/r342947/
Log:
Re-enable OpenMP on clang-based systems (FreeBSD 10).
This got broken by the way how the port detects that the system is
clang-based in order to force libc++, and should be fixed now.
PR: ports/186240
Reported by: Christoph Moench-Tegeder
Modified:
head/graphics/rawtherapee/Makefile
Modified: head/graphics/rawtherapee/Makefile
==============================================================================
--- head/graphics/rawtherapee/Makefile Thu Feb 6 07:48:52 2014 (r342946)
+++ head/graphics/rawtherapee/Makefile Thu Feb 6 07:53:27 2014 (r342947)
@@ -3,6 +3,7 @@
PORTNAME= rawtherapee
PORTVERSION= 4.0.12
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://rawtherapee.com/shared/source/
@@ -77,13 +78,12 @@ CXXFLAGS+= -O3 -ffast-math \
.endif
.endif
-_OpenMP_args= -DOPTION_OMP:BOOL=OFF
-.if ${PORT_OPTIONS:MOPENMP} && ${COMPILER_TYPE} == gcc
-_OpenMP_args= -DOPTION_OMP:BOOL=ON
+.if ${PORT_OPTIONS:MOPENMP}
+CMAKE_ARGS+= -DOPTION_OMP:BOOL=ON
+.else
+CMAKE_ARGS+= -DOPTION_OMP:BOOL=OFF
.endif
-CMAKE_ARGS+= ${_OpenMP_args}
-
# -------------------------------------------------------------------
post-patch:
More information about the svn-ports-all
mailing list