Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25745

Modified Files:
        llvm-gcc42.info 
Log Message:
ram texinfo-legacy down llvm-gcc42's throat, rename info files and install 
symlinks

Index: llvm-gcc42.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/llvm-gcc42.info,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- llvm-gcc42.info     12 Jul 2013 22:33:19 -0000      1.8
+++ llvm-gcc42.info     13 Jul 2013 02:33:04 -0000      1.9
@@ -1,21 +1,21 @@
 Package: llvm-gcc42
 Version: 2336.11
-Revision: 2
+Revision: 3
 Source: http://opensource.apple.com/tarballs/llvmgcc42/llvmgcc42-%v.tar.gz
 Source-MD5: 046629f7b3ce59bcb32b5116d29c27cd
 PatchFile: %n.patch
-PatchFile-MD5: bab55b959e79eb58bed65a9675458444
-BuildDepends: texinfo-legacy, fink (>= 0.28), xcode (>= 4.7)
+PatchFile-MD5: 251decce588b321bd3d4b553987de616
+BuildDepends: gettext-tools, texinfo-legacy, fink (>= 0.28), xcode (>= 4.7)
 Depends: %N-shlibs (= %v-%r),xcode (>= 4.7)
 SourceDirectory: llvmgcc42-%v
 NoSetCPPFLAGS: true
 NoSetLDFLAGS: true
 BuildDependsOnly: false
 UseMaxBuildJobs: false
-InfoDocs: cpp.info cppinternals.info gcc.info gccinstall.info gccint.info 
libgomp.info
+InfoDocs: llvm-cpp.info llvm-cppinternals.info llvm-gcc.info 
llvm-gccinstall.info llvm-gccint.info
 PatchScript: <<
   #!/bin/bash -ev
-  sed -e "s|@@SDKROOT@@|`xcrun --show-sdk-path`|g" < %{PatchFile} | patch -p0
+  sed -e "s|@@SDKROOT@@|`xcrun --show-sdk-path`|g" -e "s|@@FINKPREFIX@@|%p|g" 
< %{PatchFile} | patch -p0
   mv build_gcc.fink build_gcc
   chmod u+x build_gcc
   perl -pi -e "s|DEVELOPER_DIR|BUILD_DEVELOPER_DIR|g" %b/GNUmakefile 
%b/llvmCore/utils/buildit/build_llvm
@@ -28,8 +28,8 @@
 InstallScript: <<
   #!/bin/bash -ev
   export LIBRARY_PATH="/usr/lib"
-  export CPATH="/usr/include"
-  export PATH="/bin:/usr/bin:/sbin:/usr/sbin"
+  export CPATH="`xcrun --show-sdk-path`/usr/include"
+  export PATH="%p/opt/texinfo-legacy/bin:/bin:/usr/bin:/sbin:/usr/sbin:%p/bin"
   export LANGUAGES="c,c++,objc,obj-c++"
   export AR_FOR_TARGET=/usr/bin/ar
   export AS_FOR_TARGET=/usr/bin/as
@@ -72,6 +72,14 @@
   ln -sf /usr/bin/as %i/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/as
   ln -sf /usr/bin/ld %i/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/ld
   ln -sf /usr/lib/libstdc++.6.dylib 
%i/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/libstdc++.6.dylib
+
+  # Rename infofiles with llvm- prefix and create symlinks to old names. 
+  install -d -m 755 %i/share/info
+  infofiles="cpp cppinternals gcc gccinstall gccint"
+  for infofile in $infofiles ; do
+    mv %i/lib/%n/info/$infofile.info %i/lib/%n/info/llvm-$infofile.info
+    ln -s %p/lib/%n/info/llvm-$infofile.info %i/share/info/llvm-$infofile.info
+  done
 <<
 SplitOff: <<
 Package: %N-shlibs


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to