git: 67ff0768ecf2 - main - graphics/cimg: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 May 2025 00:47:42 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=67ff0768ecf210b8e930ede95bfea2d51e0836ed
commit 67ff0768ecf210b8e930ede95bfea2d51e0836ed
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-05-22 07:49:25 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-05-25 00:47:04 +0000
graphics/cimg: fix build on armv7
No OpenMP on armv7, so disable it.
Approved by: portmgr (build fix blanket)
MFH: 2025Q2
---
graphics/cimg/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile
index 8c2b357208ca..b881bd920b6d 100644
--- a/graphics/cimg/Makefile
+++ b/graphics/cimg/Makefile
@@ -85,6 +85,9 @@ USE_XORG+= xext
DOCBASE= README.txt
CFLAGS+= -I${LOCALBASE}/include/Imath -I${LOCALBASE}/include/OpenEXR
MAKE_ARGS+= CPPFLAGS="${CFLAGS}" FREEBSD_LDFLAGS="${LDFLAGS}"
+. if !exists(/usr/include/omp.h)
+MAKE_ARGS+= OPENMP_CFLAGS=
+. endif
PROGS= CImg_demo captcha curve_editor2d dtmri_view3d \
edge_explorer2d fade_images gaussian_fit1d generate_loop_macros \
hough_transform2d image2ascii image_registration2d image_surface3d \