Skip to content

Commit

Permalink
devel/cmake-core: Fix build with libnghttp2 installed
Browse files Browse the repository at this point in the history
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
  • Loading branch information
TijlCoosemans authored and fluffykhv committed Feb 4, 2023
1 parent d466350 commit 1e149b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devel/cmake-core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e149b2

Please sign in to comment.