git: ba18dc61ff94 - main - security/nss: fix build when net/mpich is installed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Feb 2025 14:27:09 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ba18dc61ff94a5af7381080dc58a5a37d17d1da9
commit ba18dc61ff94a5af7381080dc58a5a37d17d1da9
Author: Laurent Chardon <laurent.chardon@gmail.com>
AuthorDate: 2025-02-17 17:08:07 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-02-18 14:16:23 +0000
security/nss: fix build when net/mpich is installed
The mpi.h include file supplied by net/mpich confuses security/nss.
Fiddle with the include order to not have it under consideration.
Approved by: portmgr (build fix blanket)
Tested by: mi
MFH: 2025Q1
---
security/nss/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/nss/Makefile b/security/nss/Makefile
index b8d881084eb8..bfea6cb3180b 100644
--- a/security/nss/Makefile
+++ b/security/nss/Makefile
@@ -30,7 +30,7 @@ MAKE_ENV= NSPR_LIB_DIR="${LOCALBASE}/lib" \
NSS_ENABLE_WERROR=0 \
NSS_DISABLE_GTESTS=1 \
NSS_USE_SYSTEM_SQLITE=1
-CFLAGS+= -I${LOCALBASE}/include/nspr -Wno-error=unused-function
+CFLAGS+= -iquote ./mpi -I${LOCALBASE}/include/nspr -Wno-error=unused-function
SUB_FILES= nss-config nss.pc
SUB_LIST= PORTVERSION=${PORTVERSION}