aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2004-11-30 00:01:44 +0800
committeroliver <oliver@FreeBSD.org>2004-11-30 00:01:44 +0800
commite011e65f1fba3985abb86fda99dab1972f66c83d (patch)
tree255e63eec584eed0882aa8f80157f92bac2e8234 /ftp
parentf5da27e4dee1af1f7835f89592a1565538b3dce0 (diff)
downloadfreebsd-ports-gnome-e011e65f1fba3985abb86fda99dab1972f66c83d.tar.gz
freebsd-ports-gnome-e011e65f1fba3985abb86fda99dab1972f66c83d.tar.zst
freebsd-ports-gnome-e011e65f1fba3985abb86fda99dab1972f66c83d.zip
define USE_X_PREFIX before bsd.port.pre.mk gets included
Pointed out by: kris
Diffstat (limited to 'ftp')
-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