libsodium mess

Eric S. Raymond esr at thyrsus.com
Thu Jan 19 22:27:43 UTC 2017


Hal Murray <hmurray at megapathdsl.net>:
> 
> >> NetBSD puts sodium.h in /usr/pkg/include/
> >> FreeBSD puts it in /usr/local/include/
> > I added includes=ctx.env.PLATFORM_INCLUDES as an argument to the header
> > check. In theory that ought to fix this. 
> 
> Still doesn't work on either NetBSD or FreeBSD.  (Of  course, I might have 
> fatfingered something.)
> 
> I see this in configure.py:
> 
>     if ctx.env.PLATFORM_TARGET in ["freebsd", "osx", "openbsd"]:
>         ctx.env.PLATFORM_INCLUDES = ["/usr/local/include"]
>         ctx.env.PLATFORM_LIBPATH = ["/usr/local/lib"]
> 
> That looks like it should work on FreeBSD, but it doesn't.  I looked in 
> config.log.  It's not there.
> 
> I didn't see anything similar for NetBSD, but if the above works, I can 
> probably work out the rest.

I think it should.  There's probably some glitch in the way
ctx.env.PLATFORM_TARGET is being computed.  You're better positioned
to test that than I am.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


More information about the devel mailing list