From owner-svn-ports-all@freebsd.org Thu Dec 26 07:39:07 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D532D1C8875; Thu, 26 Dec 2019 07:39:07 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47k1zv55qVz4fks; Thu, 26 Dec 2019 07:39:07 +0000 (UTC) (envelope-from yuri@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 A624C2557A; Thu, 26 Dec 2019 07:39:07 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBQ7d7F2022298; Thu, 26 Dec 2019 07:39:07 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBQ7d7hl022297; Thu, 26 Dec 2019 07:39:07 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201912260739.xBQ7d7hl022297@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 26 Dec 2019 07:39:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520893 - head/graphics/gmic X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/graphics/gmic X-SVN-Commit-Revision: 520893 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.29 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: Thu, 26 Dec 2019 07:39:07 -0000 Author: yuri Date: Thu Dec 26 07:39:07 2019 New Revision: 520893 URL: https://svnweb.freebsd.org/changeset/ports/520893 Log: graphics/gmic: Fix build by adding the devel/openmp dependency Reported by: fallout Modified: head/graphics/gmic/Makefile Modified: head/graphics/gmic/Makefile ============================================================================== --- head/graphics/gmic/Makefile Thu Dec 26 07:28:45 2019 (r520892) +++ head/graphics/gmic/Makefile Thu Dec 26 07:39:07 2019 (r520893) @@ -2,6 +2,7 @@ PORTNAME= gmic DISTVERSION= 2.8.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://gmic.eu/files/source/ DISTNAME= ${PORTNAME}_${DISTVERSION} @@ -16,7 +17,6 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-se BROKEN_i386= error: "c++ crashes, clang-5 and 6 fail: undefined reference to `__atomic_load'" -BUILD_DEPENDS= ${LOCALBASE}/include/CImg.h:graphics/cimg LIB_DEPENDS= libfftw3.so:math/fftw3 \ libGraphicsMagick++.so:graphics/GraphicsMagick \ libIlmImf.so:graphics/openexr \ @@ -55,4 +55,11 @@ X11_CMAKE_BOOL= ENABLE_X X11_USES= xorg X11_USE= XORG=ice,sm,x11,xext -.include +.include + +# XXX Drop after FreeBSD 12.0 EOL +.if ${CHOSEN_COMPILER_TYPE} == clang && !exists(/usr/include/omp.h) +LIB_DEPENDS+= libomp.so:devel/openmp +.endif + +.include