summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>2000-01-11 00:20:07 +0000
committerChris Piazza <cpiazza@FreeBSD.org>2000-01-11 00:20:07 +0000
commitcf0e3a4294d58017f568f3ddcf979e50882422df (patch)
tree3a1be8ff0ba5a607aacff9c861b47c67122ee8b4 /ftp
parentUpdate to 1.8.3 (diff)
allow definition of NO_X11 to compile without xpm/gtk
PR: 16046 Submitted by: Phil Homewood <philh@mincom.com>
Notes
Notes: svn path=/head/; revision=24630
Diffstat (limited to 'ftp')
-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