diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2003-06-07 09:46:40 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2003-06-07 09:46:40 +0000 |
commit | 5d98269a6525d6b4da1e92745d8ae0f1061d5eb5 (patch) | |
tree | 7ec9b0dfdd79c5363b468d245b3b4342e2d38bf9 /editors/vim | |
parent | FIx to understand drweb 4.29.5 config (diff) |
Introduces WITH_GTK2 support.
Submitted by: obraun
Notes
Notes:
svn path=/head/; revision=82427
Diffstat (limited to 'editors/vim')
-rw-r--r-- | editors/vim/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile index ea0a0a9e1ba6..7b38ee535f34 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -93,12 +93,17 @@ MAKE_ARGS+= CONF_OPT_RUBY="--enable-rubyinterp" .if !defined(WITHOUT_X11) # for now default the GUI to the GTK+ one # will be reviewed when the GTK+ 1.{3,4} behemoth is released -.if !defined(WITH_ATHENA) && !defined(WITH_MOTIF) && !defined(WITH_GNOME) +.if !defined(WITH_ATHENA) && !defined(WITH_MOTIF) && !defined(WITH_GNOME) && !defined(WITH_GTK2) WITH_GNOME= gtk12 .endif .if defined(WITH_ATHENA) MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=athena" ${I18N} +.elif defined(WITH_GTK2) +USE_GNOME= gtk20 +PKGNAMESUFFIX= -gtk2 +MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=gtk2 --with-gtk-prefix=${X11BASE}" ${I18N} +MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt" .elif defined(WITH_GNOME) .if ${WITH_GNOME:Mgnomelibs}!="" || ${WITH_GNOME}=="yes" || \ ${WITH_GNOME}=="1" |