Date: Sat, 4 Feb 2023 09:09:27 GMT From: Dima Panov <fluffy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1e149b25f57d - main - devel/cmake-core: Fix build with libnghttp2 installed Message-ID: <202302040909.31499Rqx094677@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e149b25f57d04feeb5dc05ef33bed2f251e12bf commit 1e149b25f57d04feeb5dc05ef33bed2f251e12bf Author: Tijl Coosemans <tijl@FreeBSD.org> AuthorDate: 2023-02-03 16:35:16 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2023-02-04 09:09:02 +0000 devel/cmake-core: Fix build with libnghttp2 installed While building the bundled curl, -I/usr/local/include appears too early on the compiler command line causing the compiler to use headers from an installed libnghttp2 instead of the bundled libnghttp2. Add USES=localbase so CFLAGS contains -isystem /usr/local/include making the compiler search the directory after all the -I flags. PR: 269253 --- devel/cmake-core/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/cmake-core/Makefile b/devel/cmake-core/Makefile index 950329c71223..1c54ecdfe814 100644 --- a/devel/cmake-core/Makefile +++ b/devel/cmake-core/Makefile @@ -16,7 +16,7 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 \ libuv.so:devel/libuv \ librhash.so:security/rhash -USES= cmake:_internal compiler:c++11-lang cpe ncurses ssl +USES= cmake:_internal compiler:c++11-lang cpe localbase ncurses ssl CPE_VENDOR= cmake_project HAS_CONFIGURE= yes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302040909.31499Rqx094677>