aboutsummaryrefslogtreecommitdiff
path: root/security/nessus-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/nessus-devel/Makefile')
-rw-r--r--security/nessus-devel/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/security/nessus-devel/Makefile b/security/nessus-devel/Makefile
index eefb87acf915..7af90b3c2491 100644
--- a/security/nessus-devel/Makefile
+++ b/security/nessus-devel/Makefile
@@ -26,9 +26,14 @@ LIB_DEPENDS= nasl.1:${PORTSDIR}/security/nessus-libnasl
DIST_SUBDIR= nessus
WRKSRC= ${WRKDIR}/nessus-core
-HAVE_GTK= yes
USE_LIBTOOL= yes
-.if defined(WITHOUT_GTK)
+WANT_GTK= yes
+
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GTK) && !defined(WITHOUT_GTK)
+USE_GTK= yes
+.else
CONFIGURE_ARGS+= --disable-gtk
.endif
@@ -41,4 +46,4 @@ post-install:
@${ECHO} "collection."
@${ECHO} "================================================================================"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>