From owner-svn-ports-all@freebsd.org Sun Apr 29 09:24:58 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76F6CFA79FB; Sun, 29 Apr 2018 09:24:58 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2AEBA7F40F; Sun, 29 Apr 2018 09:24:58 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 24F7F22801; Sun, 29 Apr 2018 09:24:58 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3T9Ov6d050242; Sun, 29 Apr 2018 09:24:57 GMT (envelope-from dumbbell@FreeBSD.org) Received: (from dumbbell@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3T9OvDX050241; Sun, 29 Apr 2018 09:24:57 GMT (envelope-from dumbbell@FreeBSD.org) Message-Id: <201804290924.w3T9OvDX050241@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dumbbell set sender to dumbbell@FreeBSD.org using -f From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= Date: Sun, 29 Apr 2018 09:24:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468615 - head/graphics/darktable X-SVN-Group: ports-head X-SVN-Commit-Author: dumbbell X-SVN-Commit-Paths: head/graphics/darktable X-SVN-Commit-Revision: 468615 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2018 09:24:58 -0000 Author: dumbbell Date: Sun Apr 29 09:24:57 2018 New Revision: 468615 URL: https://svnweb.freebsd.org/changeset/ports/468615 Log: graphics/darktable: Build with LLVM 6.0 ... instead of LLVM 5.0. The reason is to stay in sync with Mesa to keep the number of LLVM copies to build to the minimum. It looks like the hack to explicitely set `LDFLAGS` to have OpenMP support isn't necessary anymore. The last time it was revisited was with LLVM 3.9.1. Modified: head/graphics/darktable/Makefile Modified: head/graphics/darktable/Makefile ============================================================================== --- head/graphics/darktable/Makefile Sun Apr 29 09:18:25 2018 (r468614) +++ head/graphics/darktable/Makefile Sun Apr 29 09:24:57 2018 (r468615) @@ -3,7 +3,7 @@ PORTNAME= darktable PORTVERSION= 2.4.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/ @@ -98,20 +98,13 @@ WEBP_CMAKE_OFF= -DUSE_WEBP:BOOL=OFF .include .if ${ARCH} == amd64 && ${CHOSEN_COMPILER_TYPE} == clang -# Enable OpenMP support with Clang 5.0. -LLVM_VER= 50 +# Enable OpenMP support with Clang 6.0. +LLVM_VER= 60 BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER} CPP= clang-cpp${LLVM_VER} CC= clang${LLVM_VER} CXX= clang++${LLVM_VER} - -# FIXME: At least in 3.7.0 and 3.7.1, Clang doesn't find libomp.so -# itself. Furthermore, there may be a regression in 3.7.1 because we now -# need to explicitly link to libm.so as well. This remains true with -# Clang 3.9.1. -OPENMP_FLAGS= -L${LOCALBASE}/llvm${LLVM_VER}/lib -lm -lomp -LDFLAGS+= ${OPENMP_FLAGS} # Depend on devel/openmp instead of the full LLVM at runtime. Required # for a consistent libomp experience.