CVSROOT:        /cvs
Module name:    ports
Changes by:     j...@cvs.openbsd.org    2019/02/14 05:54:23

Modified files:
        net/knot       : Makefile 

Log message:
Unbreak lmdb detection with ports-gcc (always look in /usr/local)

knot's configure script tries to detect liblmdb.so and lmdb.h, if it
can't find them it automatically adds /usr/local/{include,lib}
to the search paths then rechecks.  This works well on clang archs.  On
gcc archs ports-gcc automatically adds /usr/local/lib to the ld(1)
search path so detection of liblmdb.so works out of the box, but lmdb.h
can't be found since /usr/local/include hasn't been added to CPPFLAGS,
triggering a fatal error.  sigh

Reply via email to