nmap: set LUA_VERSIONS_ACCEPTED to avoid using internal Lua provided by nmap Without that change the nmap configure script checks for `lua_isyield' symbol (appeared on Lua 5.3), and for LUA_VERSION_DEFAULT != 53 (pkgsrc by default set LUA_VERSION_DEFAULT to 52) it will just silently use its internal version. Set LUA_VERSIONS_ACCEPTED to 53 to avoid that. Should fix PR pkg/52624 reported by Patrick Mackey. Bump PKGREVISION. Index: Makefile =================================================================== RCS file: /cvsroot/pkgsrc/net/nmap/Makefile,v retrieving revision 1.136 diff -u -p -r1.136 Makefile --- Makefile 3 Aug 2017 13:52:00 -0000 1.136 +++ Makefile 19 Oct 2017 09:56:43 -0000 @@ -1,6 +1,7 @@ # $NetBSD: Makefile,v 1.136 2017/08/03 13:52:00 adam Exp $ DISTNAME= nmap-7.60 +PKGREVISION= 1 CATEGORIES= net security MASTER_SITES= http://nmap.org/dist/ EXTRACT_SUFX= .tar.bz2 Index: options.mk =================================================================== RCS file: /cvsroot/pkgsrc/net/nmap/options.mk,v retrieving revision 1.18 diff -u -p -r1.18 options.mk --- options.mk 1 Jan 2017 14:43:50 -0000 1.18 +++ options.mk 19 Oct 2017 09:56:43 -0000 @@ -37,6 +37,7 @@ CONFIGURE_ARGS+= --without-zenmap .endif .if !empty(PKG_OPTIONS:Mlua) +LUA_VERSIONS_ACCEPTED= 53 # needs lua_isyieldable, introduced in Lua 5.3 .include "../../lang/lua/buildlink3.mk" CONFIGURE_ARGS+= --with-liblua=${BUILDLINK_PREFIX.lua} PLIST.lua= yes