summaryrefslogtreecommitdiff
path: root/editors/vim5/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-12-02 09:15:14 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-12-02 09:15:14 +0000
commit8b17ba238072d2840e39a2d745c036dca16a2eec (patch)
treee303f9db891c80bc4302c937a303d652c0ed5d42 /editors/vim5/Makefile
parentNevermind.. I wasn't trying to fetch from wcarchive as last resort. (diff)
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>
Notes
Notes: svn path=/head/; revision=15063
Diffstat (limited to 'editors/vim5/Makefile')
-rw-r--r--editors/vim5/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/vim5/Makefile b/editors/vim5/Makefile
index 5227c0f76dbb..9c8b154e3fa1 100644
--- a/editors/vim5/Makefile
+++ b/editors/vim5/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