Get the readline header from the installed header instead of the from the source

location.

With newer import of libedit, the path to be able to access readline/readline.h
will also include header which name will conflict with some expected by ntp in
another path and end up breaking the build.
This commit is contained in:
Baptiste Daroussin 2019-09-12 15:46:58 +00:00
parent 97889d2e15
commit 469ce69391
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352248

View file

@ -79,7 +79,7 @@ CFLAGS+= -I${SRCTOP}/contrib/ntp/include \
-I${SRCTOP}/contrib/ntp/lib/isc/pthreads/include \
-I${SRCTOP}/contrib/ntp/sntp/libopts \
-I${SRCTOP}/lib/libc/${MACHINE_ARCH} \
-I${SRCTOP}/lib/libedit/edit \
-I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/edit \
-I${.CURDIR:H} \
-I${.CURDIR}/