=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for lua-sqlite-20030228nb7
cd /scratch/databases/lua-sqlite/work; gcc -shared -O2 -fPIC -I/usr/pkg/include -I/usr/include   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib lsqlite.c	 -o libluasqlite.so -llua -lsqlite 
lsqlite.c:115:19: error: use of undeclared identifier 'LUA_GLOBALSINDEX'
        lua_gettable (L, LUA_GLOBALSINDEX);
                         ^
lsqlite.c:458:14: error: unknown type name 'luaL_reg'; did you mean 'luaL_Reg'?
static const luaL_reg sqlitelib[] =
             ^~~~~~~~
             luaL_Reg
/scratch/databases/lua-sqlite/work/.buildlink/include/lauxlib.h:26:3: note: 'luaL_Reg' declared here
} luaL_Reg;
  ^
lsqlite.c:485:2: warning: implicit declaration of function 'luaL_openlib' is invalid in C99 [-Wimplicit-function-declaration]
        luaL_openlib(L, LUA_SQLITELIBNAME, sqlitelib, 0);
        ^
1 warning and 2 errors generated.
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/databases/lua-sqlite
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/databases/lua-sqlite
