aboutsummaryrefslogtreecommitdiff
path: root/editors/vim5
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-04-30 22:39:13 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-04-30 22:39:13 +0000
commitb34da5a3f53bd28fdee658f6ba347f482e01915e (patch)
tree5b5ae5cfac4a8e847ab9372a4653d6ae01ec2164 /editors/vim5
parentc6dc644d9ac4fc8b7e1fd25f69f51695d1f7df0b (diff)
downloadports-b34da5a3f53bd28fdee658f6ba347f482e01915e.tar.gz
ports-b34da5a3f53bd28fdee658f6ba347f482e01915e.zip
Notes
Diffstat (limited to 'editors/vim5')
-rw-r--r--editors/vim5/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/editors/vim5/Makefile b/editors/vim5/Makefile
index ca4462d9acbb..561c185ac4c4 100644
--- a/editors/vim5/Makefile
+++ b/editors/vim5/Makefile
@@ -57,7 +57,11 @@ MAKE_ARGS+= LIBS=-lxpg4
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)
.if defined(WITH_ATHENA)
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=athena" ${I18N}
#MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=yes" ${I18N}
@@ -68,9 +72,9 @@ MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=gtk --with-gtk-prefix=${X11BASE}" ${I18N}
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 --enable-multibyte"
-.endif # NO_GUI
+.endif # WITHOUT_X11
.if defined(PACKAGE_BUILDING)
MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tclinterp --enable-cscope"