diff --git a/x11/pixman/Makefile b/x11/pixman/Makefile index 80b8c0f070c0..ce937e01ad47 100644 --- a/x11/pixman/Makefile +++ b/x11/pixman/Makefile @@ -1,70 +1,71 @@ PORTNAME= pixman DISTVERSION= 0.44.2 CATEGORIES= x11 MASTER_SITES= https://cairographics.org/releases/ MAINTAINER= x11@FreeBSD.org COMMENT= Low-level pixel manipulation library WWW= https://pixman.org LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe meson pkgconfig tar:xz MESON_ARGS= -Dloongson-mmi=disabled \ -Dgtk=disabled \ -Ddemos=disabled -OPTIONS_DEFINE= TEST +OPTIONS_DEFINE= OPENMP TEST +OPTIONS_DEFAULT= OPENMP +OPTIONS_EXCLUDE_armv6= OPENMP +OPTIONS_EXCLUDE_armv7= OPENMP +OPTIONS_EXCLUDE_powerpc=OPENMP + +OPENMP_MESON_ENABLED= openmp TEST_LIB_DEPENDS= libpng.so:graphics/png TEST_MESON_ENABLED= libpng tests .include .if ${ARCH} == armv6 -MESON_ARGS+= -Darm-simd=enabled \ - -Dopenmp=disabled +MESON_ARGS+= -Darm-simd=enabled .else MESON_ARGS+= -Darm-simd=disabled .endif .if ${ARCH} == armv7 -MESON_ARGS+= -Dneon=enabled \ - -Dopenmp=disabled +MESON_ARGS+= -Dneon=enabled .else MESON_ARGS+= -Dneon=disabled .endif .if ${ARCH} == aarch64 MESON_ARGS+= -Da64-neon=enabled .else MESON_ARGS+= -Da64-neon=disabled .endif .if ${ARCH} == i386 || ${ARCH} == amd64 MESON_ARGS+= -Dmmx=enabled \ -Dsse2=enabled \ -Dssse3=enabled .else MESON_ARGS+= -Dmmx=disabled \ -Dsse2=disabled \ -Dssse3=disabled .endif .if ${ARCH:Mmips*} MESON_ARGS+= -Dmips-dspr2=enabled .else MESON_ARGS+= -Dmips-dspr2=disabled .endif .if ${ARCH:Mpowerpc*} MESON_ARGS+= -Dvmx=enabled .else MESON_ARGS+= -Dvmx=disabled .endif -.if ${ARCH} == powerpc -MESON_ARGS+= -Dopenmp=disabled -.endif .if ${ARCH} == riscv64 MESON_ARGS+= -Drvv=enabled .else MESON_ARGS+= -Drvv=disabled .endif .include