svn commit: r352248 - head/usr.sbin/ntp/libntp

John Baldwin jhb at FreeBSD.org
Fri Sep 13 04:11:20 UTC 2019


On 9/12/19 6:53 PM, Ian Lepore wrote:
> On Thu, 2019-09-12 at 15:46 +0000, Baptiste Daroussin wrote:
>> Author: bapt
>> Date: Thu Sep 12 15:46:58 2019
>> New Revision: 352248
>> URL: https://svnweb.freebsd.org/changeset/base/352248
>>
>> Log:
>>   Get the readline header from the installed header instead of the from the source
>>   location.
>>   
> 
> How can this possibly be right?  One of the hallmarks of our build
> system is that it is self-contained in the sense that it uses the
> sources to build the sources, not sources or files from the host
> machine being used to do the build.

I think the issue is that the readline compat headers are installed at
/usr/include/edit/readline/foo.h, so you need the equivalent of
-I/usr/include/edit.  If there was a way to make -I honor --sysroot (e.g.
-I=/usr/include/edit) then that might be the cleaner way to handle this.

-- 
John Baldwin


More information about the svn-src-head mailing list