diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-08-21 10:51:10 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-08-21 10:51:10 +0000 |
commit | d3425eb71231e2bbb1910d61ce9abb65873de1fb (patch) | |
tree | 64db8cce302276e7d79ab15dc0de76d66937e215 /security/nessus/Makefile | |
parent | 574adfd310edc0cd51f91b918212270728ea2351 (diff) | |
download | ports-d3425eb71231e2bbb1910d61ce9abb65873de1fb.tar.gz ports-d3425eb71231e2bbb1910d61ce9abb65873de1fb.zip |
Fix the WITHOUT_ knobs to be compliant with the GNOME framework
PR: ports/70451, ports/70452
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=116903
Diffstat (limited to 'security/nessus/Makefile')
-rw-r--r-- | security/nessus/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/security/nessus/Makefile b/security/nessus/Makefile index 5ffecadd7a6e..f21dc2a86873 100644 --- a/security/nessus/Makefile +++ b/security/nessus/Makefile @@ -5,7 +5,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 @@ -33,15 +35,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 <bsd.port.pre.mk> -.if defined(WITHOUT_NESSUS_GTK) -CONFIGURE_ARGS+=--disable-gtk -.else .if ${HAVE_GNOME:Mgtk20}!="" USE_GNOME+= gtk20 PKGNAMESUFFIX= -gtk2 @@ -51,7 +51,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 |