aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-01-11 08:20:07 +0800
committercpiazza <cpiazza@FreeBSD.org>2000-01-11 08:20:07 +0800
commit8a91c7115c697fdeee044d6bece5e764cb56ca70 (patch)
tree000fd7e7760d68a0ad264fd417fbe53f70680f1f /ftp
parent2b0c370a21919eb7c230257c82ff6e6e65dd7b15 (diff)
downloadfreebsd-ports-gnome-8a91c7115c697fdeee044d6bece5e764cb56ca70.tar.gz
freebsd-ports-gnome-8a91c7115c697fdeee044d6bece5e764cb56ca70.tar.zst
freebsd-ports-gnome-8a91c7115c697fdeee044d6bece5e764cb56ca70.zip
allow definition of NO_X11 to compile without xpm/gtk
PR: 16046 Submitted by: Phil Homewood <philh@mincom.com>
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