mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
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
This commit is contained in:
parent
508c0fa580
commit
9425640d0c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342947
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user