[118056] trunk/base/src/pkg_mkindex.sh.in

jmr at macports.org jmr at macports.org
Thu Mar 20 08:47:52 PDT 2014


Revision: 118056
          https://trac.macports.org/changeset/118056
Author:   jmr at macports.org
Date:     2014-03-20 08:47:52 -0700 (Thu, 20 Mar 2014)
Log Message:
-----------
set DYLD_LIBRARY_PATH when running INTREE_TCLSH so it finds the in-tree libtcl

Modified Paths:
--------------
    trunk/base/src/pkg_mkindex.sh.in

Modified: trunk/base/src/pkg_mkindex.sh.in
===================================================================
--- trunk/base/src/pkg_mkindex.sh.in	2014-03-20 15:31:22 UTC (rev 118055)
+++ trunk/base/src/pkg_mkindex.sh.in	2014-03-20 15:47:52 UTC (rev 118056)
@@ -37,7 +37,7 @@
 fi
 
 for dir in $@; do
-    echo "pkg_mkIndex -verbose -- $dir *.tcl *.dylib *.so" | $TCLSH 2>&1 \
+    echo "pkg_mkIndex -verbose -- $dir *.tcl *.dylib *.so" | env DYLD_LIBRARY_PATH=`dirname $TCLSH` $TCLSH 2>&1 \
         | $GREP "^warning: " && exit 1
 done
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140320/5b8fcb3e/attachment.html>


More information about the macports-changes mailing list