aboutsummaryrefslogtreecommitdiffstats
path: root/editors/vim
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-05-01 06:39:13 +0800
committerobrien <obrien@FreeBSD.org>2001-05-01 06:39:13 +0800
commit47bd0b100e170503badaeb214ab08718d823303b (patch)
tree6d0d77074e0f369e011910e0d39318c11063fd3e /editors/vim
parent1158e229200b256b447e5e8b37ee9f465f6df58e (diff)
downloadfreebsd-ports-gnome-47bd0b100e170503badaeb214ab08718d823303b.tar.gz
freebsd-ports-gnome-47bd0b100e170503badaeb214ab08718d823303b.tar.zst
freebsd-ports-gnome-47bd0b100e170503badaeb214ab08718d823303b.zip
Change the Vim-specific "NO_GUI" to the correct "WITHOUT_X11".
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 16340a3eafa5..c32e4558894b 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -51,7 +51,11 @@ MLINKS+= vim.1 gvim.1 vim.1 gview.1 vim.1 rgvim.1 vim.1 rgview.1
MAKE_ARGS+= CONF_OPT_MAX="--enable-max-features"
I18N= CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-xim"
-.if !defined(NO_GUI)
+.if defined(NO_GUI)
+WITHOUT_X11= yes
+.endif
+
+.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_GTK) && !defined(WITH_MOTIF)
@@ -68,9 +72,9 @@ MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt"
USE_MOTIF= yes
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=motif --with-motif-lib=\"${MOTIFLIB}\"" MOTIFHOME=${X11BASE} ${I18N}
.endif
-.else # NO_GUI
+.else # WITHOUT_X11
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=no --without-x ${I18N}"
-.endif # NO_GUI
+.endif # WITHOUT_X11
.if defined(PACKAGE_BUILDING)
MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tclinterp --enable-cscope"