Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 07:53:27 +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: r342947 - head/graphics/rawtherapee
Message-ID:  <201402060753.s167rR8b003304@svn.freebsd.org>

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



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