aboutsummaryrefslogtreecommitdiff
path: root/ftp/pavuk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/pavuk/Makefile')
-rw-r--r--ftp/pavuk/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/ftp/pavuk/Makefile b/ftp/pavuk/Makefile
index d158c7d7c094..bb535da0957b 100644
--- a/ftp/pavuk/Makefile
+++ b/ftp/pavuk/Makefile
@@ -18,10 +18,15 @@ EXTRACT_SUFX= .tgz
MAINTAINER= andy@icc.surw.chel.su
-LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
-
GNU_CONFIGURE= yes
+
+.if defined(NO_X11)
+CONFIGURE_ARGS= --disable-gtk
+.else
CONFIGURE_ARGS= --with-xpm-includes=${X11BASE}/include --disable-gtk
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+.endif
+
USE_GMAKE= yes
MAN1= pavuk.1