diff options
Diffstat (limited to 'net-analyzer/nmap/nmap-4.53.ebuild')
-rw-r--r-- | net-analyzer/nmap/nmap-4.53.ebuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/net-analyzer/nmap/nmap-4.53.ebuild b/net-analyzer/nmap/nmap-4.53.ebuild index f436ee647014..7cd0894a9bca 100644 --- a/net-analyzer/nmap/nmap-4.53.ebuild +++ b/net-analyzer/nmap/nmap-4.53.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-4.53.ebuild,v 1.3 2008/02/21 12:38:52 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-4.53.ebuild,v 1.4 2008/03/04 16:43:41 spock Exp $ inherit eutils flag-o-matic @@ -33,10 +33,20 @@ pkg_setup() { } src_compile() { + local myconf="" + + if use lua ; then + if has_version dev-lang/lua && built_with_use dev-lang/lua deprecated ; then + myconf="--with-liblua" + else + myconf="--with-liblua=included" + fi + fi + econf \ --with-libdnet=included \ + "${myconf}" \ $(use_with gtk zenmap) \ - $(use_with lua liblua) \ $(use_with ssl openssl) || die emake -j1 || die } |