aboutsummaryrefslogtreecommitdiffstats
path: root/security/nessus-devel/Makefile
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-08-21 18:51:10 +0800
committersem <sem@FreeBSD.org>2004-08-21 18:51:10 +0800
commita98fa557476bc7e44552c8e07eb05313c48e9f29 (patch)
tree1efeaef9a9b92b5ab932002cbddf4169d9d6efb8 /security/nessus-devel/Makefile
parent58baa8ccee7d93df5f29fb3a95704844d262c6ef (diff)
downloadfreebsd-ports-gnome-a98fa557476bc7e44552c8e07eb05313c48e9f29.tar.gz
freebsd-ports-gnome-a98fa557476bc7e44552c8e07eb05313c48e9f29.tar.zst
freebsd-ports-gnome-a98fa557476bc7e44552c8e07eb05313c48e9f29.zip
Fix the WITHOUT_ knobs to be compliant with the GNOME framework
PR: ports/70451, ports/70452 Submitted by: maintainer
Diffstat (limited to 'security/nessus-devel/Makefile')
-rw-r--r--security/nessus-devel/Makefile11
1 files changed, 5 insertions, 6 deletions
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 <bsd.port.pre.mk>
-.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