1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

graphics/GraphicsMagick: Use openmp from Clang on aarch64 and amd64

- Bump PORTREVISION for package change

PR:		252994
Reported by:	<rasmus@gal.dk>
This commit is contained in:
Po-Chuan Hsieh 2021-07-01 04:35:21 +08:00
parent 914f790c12
commit 6716b025bb
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -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