Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2021 20:45:42 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6716b025bba4 - main - graphics/GraphicsMagick: Use openmp from Clang on aarch64 and amd64
Message-ID:  <202106302045.15UKjguH053623@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6716b025bba4e1cef2ee837f2941ddbd56fbb299

commit 6716b025bba4e1cef2ee837f2941ddbd56fbb299
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-06-30 20:35:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-06-30 20:43:33 +0000

    graphics/GraphicsMagick: Use openmp from Clang on aarch64 and amd64
    
    - Bump PORTREVISION for package change
    
    PR:             252994
    Reported by:    <rasmus@gal.dk>
---
 graphics/GraphicsMagick/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile
index 5c3112c155ca..3f9b89e5d278 100644
--- a/graphics/GraphicsMagick/Makefile
+++ b/graphics/GraphicsMagick/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	GraphicsMagick
 PORTVERSION=	1.3.36
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	graphics
 MASTER_SITES=	SF \
@@ -48,7 +49,6 @@ LCMS2_LIB_DEPENDS=	liblcms2.so:graphics/lcms2
 LZMA_CONFIGURE_WITH=	lzma
 OPENMP_CONFIGURE_OFF=	--disable-openmp --without-threads
 OPENMP_CONFIGURE_ON=	--disable-openmp-slow --enable-openmp --with-threads
-OPENMP_USES=		compiler:gcc-c++11-lib
 PNG_CONFIGURE_WITH=	png
 PNG_LIB_DEPENDS=	libpng.so:graphics/png
 Q8BIT_CONFIGURE_OFF=	--with-quantum-depth=16
@@ -76,6 +76,12 @@ ZSTD_LIB_DEPENDS=	libzstd.so:archivers/zstd
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MOPENMP}
+.if ${ARCH} != aarch64 && ${ARCH} != amd64
+USES+=		compiler:gcc-c++11-lib
+.endif
+.endif
+
 .if ${PORT_OPTIONS:MSSE}
 .if ${MACHINE_CPU:Msse}
 CFLAGS+=	-msse



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