git: 6716b025bba4 - main - graphics/GraphicsMagick: Use openmp from Clang on aarch64 and amd64

Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Jun 30 20:45:42 UTC 2021


The branch main has been updated by sunpoet:

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

commit 6716b025bba4e1cef2ee837f2941ddbd56fbb299
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-06-30 20:35:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet at 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 at 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


More information about the dev-commits-ports-main mailing list