[Bug 283949] x11/pixman: build fail

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Jan 2025 08:03:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283949

Ronald Klop <ronald@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ronald@FreeBSD.org

--- Comment #3 from Ronald Klop <ronald@FreeBSD.org> ---
Some ports check for openmp:

$ find /usr/porsts -name Makefile | xargs grep -A 3 "omp.h
./math/tmv/Makefile:.if !exists(/usr/include/omp.h)
./math/tmv/Makefile-USES+=              compiler:gcc-c++11-lib
./math/tmv/Makefile-.endif

Can't this port do something similar?
.if !exists(/usr/include/omp.h)
CFLAGS+=-Dopenmp=disabled
.endif

(I think an architecture like armv7 doesn't have openmp at all so this
construction fixes some ports on that platform.)

-- 
You are receiving this mail because:
You are the assignee for the bug.