aboutsummaryrefslogtreecommitdiff
path: root/ftp/gftp/Makefile
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2004-11-29 16:01:44 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2004-11-29 16:01:44 +0000
commit6299ee055a6c512ecffea89403c7313f71fa8e37 (patch)
tree969a36f08522971cbb2d865e8228432ff02714f2 /ftp/gftp/Makefile
parent56cee616c14e95ea2a56ca3a95203e3eac829737 (diff)
downloadports-6299ee055a6c512ecffea89403c7313f71fa8e37.tar.gz
ports-6299ee055a6c512ecffea89403c7313f71fa8e37.zip
Notes
Diffstat (limited to 'ftp/gftp/Makefile')
-rw-r--r--ftp/gftp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ftp/gftp/Makefile b/ftp/gftp/Makefile
index 66d1e74080e9..c888bd84d652 100644
--- a/ftp/gftp/Makefile
+++ b/ftp/gftp/Makefile
@@ -28,6 +28,10 @@ WANT_GNOME= yes
OPTIONS= X11 "Build with X11 frontend" on \
GTK2 "gtk2 instead of gtk12" off
+.if !defined(WITHOUT_X11)
+USE_X_PREFIX= yes
+.endif
+
.include <bsd.port.pre.mk>
USE_GNOME+= gnomehack
@@ -37,7 +41,6 @@ CONFIGURE_ARGS+=--disable-gtkport --disable-gtk20
PKGNAMESUFFIX= -nox11
USE_GNOME+= glib12
.else
-USE_X_PREFIX= yes
WANT_GNOME= yes
.if defined(WITH_GTK2)
USE_GNOME+= gtk20