diff --git a/x11/pixman/Makefile b/x11/pixman/Makefile index 25bc5725abc3..80b8c0f070c0 100644 --- a/x11/pixman/Makefile +++ b/x11/pixman/Makefile @@ -1,67 +1,70 @@ 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 TEST_LIB_DEPENDS= libpng.so:graphics/png TEST_MESON_ENABLED= libpng tests .include .if ${ARCH} == armv6 MESON_ARGS+= -Darm-simd=enabled \ -Dopenmp=disabled .else MESON_ARGS+= -Darm-simd=disabled .endif .if ${ARCH} == armv7 MESON_ARGS+= -Dneon=enabled \ -Dopenmp=disabled .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 diff --git a/x11/pixman/files/patch-meson.build b/x11/pixman/files/patch-meson.build new file mode 100644 index 000000000000..a89973f40339 --- /dev/null +++ b/x11/pixman/files/patch-meson.build @@ -0,0 +1,11 @@ +--- meson.build.orig 2025-01-13 07:25:33 UTC ++++ meson.build +@@ -226,7 +226,7 @@ have_vmx = false + + use_vmx = get_option('vmx') + have_vmx = false +-vmx_flags = ['-maltivec', '-mabi=altivec'] ++vmx_flags = ['-maltivec'] + if not use_vmx.disabled() + if host_machine.cpu_family().startswith('ppc') + if cc.compiles('''