aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/nessus-devel/Makefile6
-rw-r--r--security/nessus/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/security/nessus-devel/Makefile b/security/nessus-devel/Makefile
index df3069e5a8d5..7e4e12a1f6de 100644
--- a/security/nessus-devel/Makefile
+++ b/security/nessus-devel/Makefile
@@ -27,9 +27,13 @@ LIB_DEPENDS= nasl.1:${PORTSDIR}/security/nessus-libnasl
DIST_SUBDIR= nessus
WRKSRC= ${WRKDIR}/nessus-core
+.if defined(WITHOUT_GTK)
+CONFIGURE_ARGS+= --disable-gtk
+.else
USE_GTK= yes
-USE_LIBTOOL= yes
CONFIGURE_ENV= GTKCONFIG="${GTK_CONFIG}"
+.endif
+USE_LIBTOOL= yes
MAN1= nessus.1
MAN8= nessusd.8 nessus-adduser.8
diff --git a/security/nessus/Makefile b/security/nessus/Makefile
index df3069e5a8d5..7e4e12a1f6de 100644
--- a/security/nessus/Makefile
+++ b/security/nessus/Makefile
@@ -27,9 +27,13 @@ LIB_DEPENDS= nasl.1:${PORTSDIR}/security/nessus-libnasl
DIST_SUBDIR= nessus
WRKSRC= ${WRKDIR}/nessus-core
+.if defined(WITHOUT_GTK)
+CONFIGURE_ARGS+= --disable-gtk
+.else
USE_GTK= yes
-USE_LIBTOOL= yes
CONFIGURE_ENV= GTKCONFIG="${GTK_CONFIG}"
+.endif
+USE_LIBTOOL= yes
MAN1= nessus.1
MAN8= nessusd.8 nessus-adduser.8