diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2007-12-19 16:30:28 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2007-12-19 16:30:28 +0000 |
commit | 874cf5a8f25df0b59f5650b753967a7b29659781 (patch) | |
tree | 4e6fddb64e24f1c15df34af815363ac1bbab6783 /editors/vim | |
parent | Add a "show-options" target. (diff) |
Re-enable WITH_TCL.
+ fixed TCL_DEFS processing in patch-configure
+ re-enabled Tcl support (using new bsd.tcl.mk)
+ supports Tcl 80, 82, 83, 84, 85 (WITH_TCL_VER=8x or VIM_WITH_TCL_VER=8x)
+ no support for threaded Tcl yet (because of the way how vim's configure
searches for Tcl, this needs more modifications)
PR: 112347
Submitted by: mm
Notes
Notes:
svn path=/head/; revision=204122
Diffstat (limited to 'editors/vim')
-rw-r--r-- | editors/vim/Makefile | 15 | ||||
-rw-r--r-- | editors/vim/files/patch-configure | 2 |
2 files changed, 8 insertions, 9 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 0c24e44d287c..9443b06dcf68 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -56,7 +56,7 @@ MANLANG= "" ru.KOI8-R ru.UTF-8 pl.ISO8859-2 pl.UTF-8 pl fr.ISO8859-1 \ fr.UTF-8 fr it.ISO8859-1 it.UTF-8 it .if defined(PACKAGE_BUILDING) && !defined(LITE) -#WITH_TCL= yes +WITH_TCL= yes WITH_PERL= yes WITH_PYTHON= yes WITH_CSCOPE= yes @@ -64,10 +64,6 @@ WITH_EXUBERANT_CTAGS=yes WITH_LANG= yes .endif -.if defined(WITH_TCL) -BROKEN= Does not compile -.endif - .if defined(WITH_PYTHON) USE_PYTHON= yes MAKE_ARGS+= CONF_OPT_PYTHON="--enable-pythoninterp" @@ -78,6 +74,11 @@ USE_RUBY= yes MAKE_ARGS+= CONF_OPT_RUBY="--enable-rubyinterp" .endif +.if defined(WITH_TCL) +USE_TCL= 80+ +USE_TCL_NO_THREADS= yes +.endif + .if defined(WITH_PERL) WANT_PERL= yes .endif @@ -111,9 +112,7 @@ MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp" .endif .if defined(WITH_TCL) -BUILD_DEPENDS= tclsh8.4:${PORTSDIR}/lang/tcl84 -LIB_DEPENDS= tcl84.1:${PORTSDIR}/lang/tcl84 -MAKE_ARGS+= CONF_OPT_TCL="--enable-tclinterp" +MAKE_ARGS+= CONF_OPT_TCL="--enable-tclinterp --with-tclsh="${TCLSH:S/${LOCALBASE}\/bin\///g}"" .endif .if !defined(WITHOUT_X11) diff --git a/editors/vim/files/patch-configure b/editors/vim/files/patch-configure index c368a63bbdfc..276eb1ce3dc4 100644 --- a/editors/vim/files/patch-configure +++ b/editors/vim/files/patch-configure @@ -3,6 +3,6 @@ @@ -4644,3 +4644,4 @@ echo "${ECHO_T}$try/tclConfig.sh" >&6 TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"` - TCL_DEFS=`echo $TCL_DEFS | sed -e 's/\\\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\\\ /g'` -+ TCL_DEFS=`echo $TCL_DEFS | tr ' ' '\012' | sed -e 's/\\\\ /\\\\X/g' -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\\\ /g'` ++ TCL_DEFS=`echo $TCL_DEFS | sed -e 's/\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\ /g'` + break |