summaryrefslogtreecommitdiff
path: root/ftp/gftp/Makefile
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2006-09-26 16:50:15 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2006-09-26 16:50:15 +0000
commitf3b9357a22cf4348e9f86c99be73240edf0b216c (patch)
tree5e665a046f19a32b6008721c712c22dc03231490 /ftp/gftp/Makefile
parent- New port: graphics/py-amanith (diff)
make gtk2 the default toolkit instead of gtk12
Notes
Notes: svn path=/head/; revision=173915
Diffstat (limited to 'ftp/gftp/Makefile')
-rw-r--r--ftp/gftp/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/ftp/gftp/Makefile b/ftp/gftp/Makefile
index b752a56e88c4..9e7a43f948c6 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