[66597] trunk/dports/editors/MacVim
raimue at macports.org
raimue at macports.org
Sat Apr 17 17:26:58 PDT 2010
Revision: 66597
http://trac.macports.org/changeset/66597
Author: raimue at macports.org
Date: 2010-04-17 17:26:57 -0700 (Sat, 17 Apr 2010)
Log Message:
-----------
editors/MacVim:
Ensure we are always using tclsh from MacPorts
Modified Paths:
--------------
trunk/dports/editors/MacVim/Portfile
Added Paths:
-----------
trunk/dports/editors/MacVim/files/patch-tcl.diff
Modified: trunk/dports/editors/MacVim/Portfile
===================================================================
--- trunk/dports/editors/MacVim/Portfile 2010-04-18 00:25:23 UTC (rev 66596)
+++ trunk/dports/editors/MacVim/Portfile 2010-04-18 00:26:57 UTC (rev 66597)
@@ -7,6 +7,7 @@
set snapshot 52
set gitcommit snapshot-${snapshot}
version ${vim_version}.snapshot${snapshot}
+revision 1
categories editors
platforms darwin
maintainers raimue
@@ -94,7 +95,10 @@
}
variant tcl description {Enable Tcl scripting} {
configure.args-append --enable-tclinterp
+ patchfiles-append patch-tcl.diff
depends_lib-append port:tcl
+
+ use_autoconf yes
}
variant cscope description {Enable source code browsing with cscope} {
Added: trunk/dports/editors/MacVim/files/patch-tcl.diff
===================================================================
--- trunk/dports/editors/MacVim/files/patch-tcl.diff (rev 0)
+++ trunk/dports/editors/MacVim/files/patch-tcl.diff 2010-04-18 00:26:57 UTC (rev 66597)
@@ -0,0 +1,32 @@
+--- src/configure.in.orig 2010-04-18 00:11:11.000000000 +0200
++++ src/configure.in 2010-04-18 00:17:10.000000000 +0200
+@@ -875,12 +875,7 @@
+ tclloc=`echo 'set l [[info library]];set i [[string last lib $l]];incr i -2;puts [[string range $l 0 $i]]' | $vi_cv_path_tcl -`
+
+ AC_MSG_CHECKING(for location of Tcl include)
+- if test "x$MACOSX" != "xyes"; then
+- tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/local/include/tcl$tclver /usr/include /usr/include/tcl$tclver"
+- else
+- dnl For Mac OS X 10.3, use the OS-provided framework location
+- tclinc="/System/Library/Frameworks/Tcl.framework/Headers"
+- fi
++ tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver"
+ TCL_INC=
+ for try in $tclinc; do
+ if test -f "$try/tcl.h"; then
+@@ -895,13 +890,8 @@
+ fi
+ if test -z "$SKIP_TCL"; then
+ AC_MSG_CHECKING(for location of tclConfig.sh script)
+- if test "x$MACOSX" != "xyes"; then
+- tclcnf=`echo $tclinc | sed s/include/lib/g`
+- tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`"
+- else
+- dnl For Mac OS X 10.3, use the OS-provided framework location
+- tclcnf="/System/Library/Frameworks/Tcl.framework"
+- fi
++ tclcnf=`echo $tclinc | sed s/include/lib/g`
++ tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`"
+ for try in $tclcnf; do
+ if test -f $try/tclConfig.sh; then
+ AC_MSG_RESULT($try/tclConfig.sh)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100417/14fff59b/attachment-0001.html>
More information about the macports-changes
mailing list