git: 2ef89014fc02 - main - science/healpix: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Jan 2026 13:27:39 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2ef89014fc0236c6b44a3d4c02b3806039596b94
commit 2ef89014fc0236c6b44a3d4c02b3806039596b94
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:26:15 +0000
science/healpix: fix build on armv7
No OpenMP on armv7.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
---
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