Update of /cvsroot/fink/experimental/fangism/finkinfo
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15200

Modified Files:
        llvm32.info 
Log Message:
build fixes


Index: llvm32.info
===================================================================
RCS file: /cvsroot/fink/experimental/fangism/finkinfo/llvm32.info,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- llvm32.info 7 Jun 2013 00:10:15 -0000       1.21
+++ llvm32.info 7 Jun 2013 17:58:03 -0000       1.22
@@ -414,15 +414,16 @@
        popd
 
        # boilerplate script for fixing post-cmake-install install_names
-       pushd $iprefix/lib
+       # expect to find in lib/
+       pushd $iprefix
        for f in `find . -name '*.dylib'` `find . -name '*.so'`
        do
                if test ! -L $f
                then
-               dir=`dirname $f`
+               dir=`dirname $f | sed -e 's|^\.\/||'`
                 b=`basename $f`
                pushd $dir 2> /dev/null
-               install_name_tool -id "$PWD/$b" "$b"
+               install_name_tool -id "$prefix/$dir/$b" "$b"
                case $f in
                *.dylib) filt="sed 1,2d" ;;
                *.so) filt="sed 1d" ;;
@@ -434,7 +435,7 @@
                # caution: assumes dependent libraries are in same dir
                case $d in
                /*) ;;
-               *) install_name_tool -change "$d" "$PWD/$d" $b ;;
+               *) install_name_tool -change "$d" "$prefix/lib/$d" $b ;;
                esac
                done
                popd 2> /dev/null


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to