aboutsummaryrefslogtreecommitdiffstats
path: root/editors/vim
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-12-02 17:15:14 +0800
committerobrien <obrien@FreeBSD.org>1998-12-02 17:15:14 +0800
commit5ccdc8919c9aa745a886ffa26e28d3c5152654a4 (patch)
tree4dd2a80959f3043ad0bb39d1772a35152cf17688 /editors/vim
parent2bc93be9aa8ca3ea3711357c2da7432cab0645eb (diff)
downloadfreebsd-ports-gnome-5ccdc8919c9aa745a886ffa26e28d3c5152654a4.tar.gz
freebsd-ports-gnome-5ccdc8919c9aa745a886ffa26e28d3c5152654a4.tar.zst
freebsd-ports-gnome-5ccdc8919c9aa745a886ffa26e28d3c5152654a4.zip
Force linking against termlib instead of ncurses. Obviously this is only a
workaround for a problem in the ncurses library. The vim5.3's "configure" script checks for tgetent() in ncurses. It's found in the 3.0 libncurses (so vim is linked with it), but this check fails under FreeBSD 2.2.x, so it's linked with libtermlib. Submitted by: "José Mª Alcaide" <jose@we.lc.ehu.es>
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 5227c0f76dbb..9c8b154e3fa1 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -4,7 +4,7 @@
# Date created: Sat June 29, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
#
-# $Id: Makefile,v 1.29 1998/09/25 10:07:45 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/14 00:19:03 jseger Exp $
#
DISTNAME= vim-5.3
@@ -19,7 +19,7 @@ DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} ${DISTNAME}-rt${EXTRACT_SUFX}
MAINTAINER= obrien@FreeBSD.org
-.if defined(BATCH)
+.if defined(PACKAGE_BUILDING)
BUILD_DEPENDS= tclsh8.0:${PORTSDIR}/lang/tcl80 \
python:${PORTSDIR}/lang/python
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80
@@ -29,7 +29,7 @@ USE_PERL5= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} --forward --quiet -E ${PATCH_DIST_STRIP}
-MAKE_FLAGS= CONF_ARGS="--prefix=${PREFIX} --enable-max-features" -f
+MAKE_FLAGS= CONF_ARGS="--prefix=${PREFIX} --enable-max-features --with-tlib=termlib" -f
ALL_TARGET= #
MAN1= vim.1 xxd.1 ectags.1
@@ -41,7 +41,7 @@ MAKE_FLAGS:= CONF_OPT_GUI="--enable-gui=motif" MOTIFHOME=${X11BASE} ${MAKE_FLAGS
MAKE_FLAGS:= CONF_OPT_GUI="--enable-gui=athena" ${MAKE_FLAGS}
.endif
-.if defined(BATCH)
+.if defined(PACKAGE_BUILDING)
MAKE_FLAGS:= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tclinterp" ${MAKE_FLAGS}
.endif