On Tue, 11 Dec 2012, Giovanni Bechis wrote:

> Update to latest version, a lua.port.mk diff is needed to build it because it 
> needs at least lua 5.2.
> Comments ? Hints ? Ok ?
>  Cheers
>   Giovanni

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/nmap/Makefile,v
> retrieving revision 1.104
> diff -u -p -r1.104 Makefile
> --- Makefile  16 Nov 2012 17:05:13 -0000      1.104
> +++ Makefile  11 Dec 2012 18:30:05 -0000
> @@ -3,14 +3,11 @@
>  COMMENT-main=        scan ports and fingerprint stack of network hosts
>  COMMENT-zenmap=      graphical frontend for nmap
>  
> -MODPY_EGG_VERSION=   6.01
> +MODPY_EGG_VERSION=   6.25
>  DISTNAME=            nmap-${MODPY_EGG_VERSION}
>  PKGNAME-main=                ${DISTNAME}
>  PKGNAME-zenmap=              nmap-zenmap-${MODPY_EGG_VERSION}
>  
> -REVISION-main=       1
> -REVISION-zenmap=1
> -
>  CATEGORIES=  net security
>  MASTER_SITES=        http://nmap.org/dist/
>  EXTRACT_SUFX=        .tgz
> @@ -28,6 +25,8 @@ PERMIT_DISTFILES_FTP=       Yes
>  MULTI_PACKAGES=      -main -zenmap
>  
>  USE_GMAKE=   yes
> +MODLUA_SA=   Yes
> +MODLUA_DEFAULT_VERSION=5.2

With s/MODLUA_DEFAULT_VERSION/MODLUA_VERSION/ this is ok for me.
The ports builds, packages and works as expected (tested on amd64).

Ciao,
David

Reply via email to