aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-02-15 12:42:35 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-02-15 12:42:35 +0000
commit74deb8c73afb031f917e2ac3739269f76bc1e584 (patch)
tree435144d71a50d2f9e49e2eab73933ca119b8f0ea /editors
parent34b8ac7f22c8a96271b489fca6e66893ff1a8989 (diff)
downloadports-74deb8c73afb031f917e2ac3739269f76bc1e584.tar.gz
ports-74deb8c73afb031f917e2ac3739269f76bc1e584.zip
Notes
Diffstat (limited to 'editors')
-rw-r--r--editors/vim5/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/editors/vim5/Makefile b/editors/vim5/Makefile
index e97762d8ced0..f80528cb4118 100644
--- a/editors/vim5/Makefile
+++ b/editors/vim5/Makefile
@@ -47,8 +47,14 @@ MLINKS+= vim.1 gvim.1 vim.1 gview.1 vim.1 rgvim.1 vim.1 rgview.1
.include <bsd.port.pre.mk>
+# Determine if we need xpg4.
+# No xpg4 in libc below 400020 and 500005
+.if ${OSVERSION} < 400020 && ${OSVERSION} < 500005
+LIBS=-lxpg4
+.endif
+
.if !defined(LITE)
-MAKE_ARGS+= X_LIBS=-lxpg4 CONF_OPT_MAX="--enable-max-features"
+MAKE_ARGS+= CONF_OPT_MAX="--enable-max-features"
I18N= CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-xim"
.if defined(WITH_ATHENA)
@@ -67,7 +73,7 @@ MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tc
.endif
.else # LITE
-MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=no --without-x"
+MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=no --without-x --enable-multibyte"
MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp"
.endif # LITE