git: 7dbe81052ee8 - 2026Q1 - science/healpix: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Jan 2026 13:29:27 UTC
The branch 2026Q1 has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7dbe81052ee81603af6bcc55beea1ce2365bd479
commit 7dbe81052ee81603af6bcc55beea1ce2365bd479
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-01-15 16:56:51 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-01-16 13:29:17 +0000
science/healpix: fix build on armv7
No OpenMP on armv7.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
(cherry picked from commit 2ef89014fc0236c6b44a3d4c02b3806039596b94)
---
science/healpix/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/science/healpix/Makefile b/science/healpix/Makefile
index 7505dc0033bc..860dac18ecb6 100644
--- a/science/healpix/Makefile
+++ b/science/healpix/Makefile
@@ -29,7 +29,9 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
+.if exists(/usr/include/omp.h)
LDFLAGS+= -lomp
+.endif
WRKSRC= ${WRKDIR}/Healpix_${DISTVERSION}
AUTORECONF_WRKSRC= ${WRKSRC}/src/${FLAVOR:S/^c$/C/}/autotools