From d3425eb71231e2bbb1910d61ce9abb65873de1fb Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Sat, 21 Aug 2004 10:51:10 +0000 Subject: Fix the WITHOUT_ knobs to be compliant with the GNOME framework PR: ports/70451, ports/70452 Submitted by: maintainer --- security/nessus-devel/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'security/nessus-devel') diff --git a/security/nessus-devel/Makefile b/security/nessus-devel/Makefile index ccea38d3af10..bfaeec870a3d 100644 --- a/security/nessus-devel/Makefile +++ b/security/nessus-devel/Makefile @@ -3,7 +3,9 @@ # $FreeBSD$ # # If you want to only have the command-line client even if gtk is already -# installed define: +# installed define one of these: +# WITHOUT_GNOME +# WITHOUT_GTK # WITHOUT_NESSUS_GTK PORTNAME= nessus-devel @@ -30,15 +32,13 @@ WRKSRC= ${WRKDIR}/nessus-core USE_LIBTOOL_VER=13 USE_REINPLACE= YES USE_RC_SUBR= YES -.if !defined(WITHOUT_NESSUS_GTK) WANT_GNOME= yes +.if defined(WITHOUT_NESSUS_GTK) || defined(WITHOUT_GTK) +WITHOUT_GNOME= yes .endif .include -.if defined(WITHOUT_NESSUS_GTK) -CONFIGURE_ARGS+=--disable-gtk -.else .if ${HAVE_GNOME:Mgtk20}!="" USE_GNOME+= gtk20 PKGNAMESUFFIX= -gtk2 @@ -48,7 +48,6 @@ PKGNAMESUFFIX= -gtk .else CONFIGURE_ARGS+=--disable-gtk .endif -.endif MAN1= nessus.1 nessus-mkrand.1 nessus-mkcert-client.1 MAN8= nessusd.8 nessus-adduser.8 nessus-mkcert.8 nessus-rmuser.8 -- cgit v1.2.3