diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2004-11-29 16:01:44 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2004-11-29 16:01:44 +0000 |
commit | 6299ee055a6c512ecffea89403c7313f71fa8e37 (patch) | |
tree | 969a36f08522971cbb2d865e8228432ff02714f2 | |
parent | Upgrade to version 1.2.3. (diff) |
define USE_X_PREFIX before bsd.port.pre.mk gets included
Pointed out by: kris
-rw-r--r-- | ftp/gftp/Makefile | 5 |
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 |