Hisashi T Fujinaka <htodd%twofifty.com@localhost> writes:
# compile lib/keyring.ln
CC=/usr/src/obj.amd64/tooldir.NetBSD-5.99.53-amd64/bin/x86_64--netbsd-gcc
/usr/src/obj.amd64/tooldir.NetBSD-5.99.53-amd64/bin/x86_64--netbsd-lint
-chapbxzFS -d /usr/include -I/usr/src/crypto/external/bsd/netpgp/lib
-I/usr/src/crypto/external/bsd/netpgp/lib/../dist/include
-D_FORTIFY_SOURCE=2 -i
lint is told to look at /usr/include and I guess mj.h there is old one.
Build using build.sh works for me since it populates headers into
$DESTDIR/usr/include and tell lint to look at there.