From 009db4a4723e02415c3ff987d636f29fab95eed6 Mon Sep 17 00:00:00 2001 From: brad Date: Sun, 14 Jan 2001 18:18:09 +0000 Subject: [PATCH] - fixup Makefile - add USE_X11 - proper use of ALL_TARGET for use with the no_x11 FLAVOR --- net/nmap/Makefile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/net/nmap/Makefile b/net/nmap/Makefile index f0cc2c7fa28..581bca9b3f0 100644 --- a/net/nmap/Makefile +++ b/net/nmap/Makefile @@ -1,9 +1,12 @@ -# $OpenBSD: Makefile,v 1.31 2001/01/09 18:52:34 naddy Exp $ +# $OpenBSD: Makefile,v 1.32 2001/01/14 18:18:09 brad Exp $ DISTNAME= nmap-2.54BETA7 PKGNAME= nmap-2.54b7 CATEGORIES= net security NEED_VERSION= 1.348 +MASTER_SITES= ${HOMEPAGE}dist/ +EXTRACT_SUFX= .tgz + HOMEPAGE= http://www.insecure.org/nmap/ MAINTAINER= Brian Caswell @@ -13,16 +16,17 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -MASTER_SITES= ${HOMEPAGE}dist/ -EXTRACT_SUFX= .tgz +CONFIGURE_STYLE= gnu dest FLAVORS= no_x11 FLAVOR?= -.if !${FLAVOR:L:Mno_x11} -LIB_DEPENDS+= gtk.1.2::x11/gtk+ +.if ${FLAVOR:L:Mno_x11} +ALL_TARGET= nmap +.else +LIB_DEPENDS= gtk.1.2::x11/gtk+ +USE_X11= Yes +ALL_TARGET= nmap nmapfe .endif -CONFIGURE_STYLE= gnu dest - .include