aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/gftp
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2006-09-27 00:50:15 +0800
committeroliver <oliver@FreeBSD.org>2006-09-27 00:50:15 +0800
commit392547d4368ce9f24006aafa8d982429cd3337cf (patch)
treee02bf495c816f0ec604481f373109519570ed48d /ftp/gftp
parentaf1c26959eba4fc8aae2ff2610ed975b458763dc (diff)
downloadfreebsd-ports-graphics-392547d4368ce9f24006aafa8d982429cd3337cf.tar.gz
freebsd-ports-graphics-392547d4368ce9f24006aafa8d982429cd3337cf.tar.zst
freebsd-ports-graphics-392547d4368ce9f24006aafa8d982429cd3337cf.zip
make gtk2 the default toolkit instead of gtk12
Diffstat (limited to 'ftp/gftp')
-rw-r--r--ftp/gftp/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/ftp/gftp/Makefile b/ftp/gftp/Makefile
index b752a56e88c..9e7a43f948c 100644
--- a/ftp/gftp/Makefile
+++ b/ftp/gftp/Makefile
@@ -25,7 +25,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
WANT_GNOME= yes
OPTIONS= X11 "Build with X11 frontend" on \
- GTK2 "gtk2 instead of gtk12" off \
+ GTK1 "gtk12 instead of gtk2" off \
NLS "Native Language Support via gettext utilities" on
.if !defined(WITHOUT_X11)
@@ -44,13 +44,13 @@ PLIST_SUB+= NOX11:="@comment "
.else
PLIST_SUB+= NOX11:=""
WANT_GNOME= yes
-.if defined(WITH_GTK2)
-USE_GNOME+= gtk20
-CONFIGURE_ENV+= _GTHREAD_LIBS="-lgthread-2.0"
-.else
+.if defined(WITH_GTK1)
USE_GNOME+= gtk12
CONFIGURE_ENV+= _GTHREAD_LIBS="-lgthread-12"
CONFIGURE_ARGS+=--disable-gtk20
+.else
+USE_GNOME+= gtk20
+CONFIGURE_ENV+= _GTHREAD_LIBS="-lgthread-2.0"
.endif
.endif