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

Modified Files:
        ccache.info 
Log Message:
upstream update 3.1.9, %p/var/ccache now owned by fink-bld


Index: ccache.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/devel/ccache.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ccache.info 8 Dec 2012 21:19:00 -0000       1.3
+++ ccache.info 13 Feb 2013 09:39:53 -0000      1.4
@@ -1,9 +1,9 @@
 Package: ccache 
-Version: 3.1.8
+Version: 3.1.9
 Revision: 1
 Maintainer: David Fang <fang...@users.sourceforge.net>
 Source: http://samba.org/ftp/%n/%n-%v.tar.bz2
-Source-MD5: 0e0f25fb342dcb1196d9c2986a7323cf
+Source-MD5: 65f48376a91d3651d6527ca568858be8
 PatchScript: <<
        #!/bin/sh -ev
        # patch Makefile to not depend on implicit rules
@@ -12,6 +12,8 @@
        { echo ".SUFFIXES: .c .o" && cat $file.orig ;} > $file
 <<
 UseMaxBuildJobs: true
+# for 10.4 only, newer dists don't need (obsolete)
+# Depends: passwd-fink-bld
 CompileScript: <<
  ./configure %c
  make CFLAGS='-g -O2 -Wall -W -I. -prebind'
@@ -31,11 +33,14 @@
 make install prefix=%i mandir=%i/share/man
 echo creating ccache-default overrides...
 pushd /usr/bin
-# llvm-* clang c89 c99
-for f in cc c++ c++-* gcc* g++* *-apple-darwin*-g*
+# clang* llvm-g*
+for f in cc c++ c++-* gcc* g++* *-apple-darwin*-g* c89 c99 clang* llvm-g*
 do
-  echo "linking %p/bin/$f to ccache to override /usr/bin/$f"
-  ln -s %p/bin/ccache %i/bin/$f
+  if test -x ./$f
+  then
+    echo "linking %p/bin/$f to ccache to override /usr/bin/$f"
+    ln -s %p/bin/ccache %i/bin/$f
+  fi
 done
 popd
 <<
@@ -43,6 +48,9 @@
 echo "If you wish ccache to be the default compiler"
 echo "(to override and send ALL compilations through ccache),"
 echo " install the \"%n-default\" package."
+# make ccache dir usable to fink-bld for --build-as-nobody
+mkdir -p %p/var/ccache
+chown -R fink-bld %p/var/ccache
 <<
 SplitOff: <<
        Package: ccache-default
@@ -53,6 +61,10 @@
                bin/g++*
                bin/gcc*
                bin/*-apple-darwin*
+               bin/c89
+               bin/c99
+               bin/clang*
+               bin/llvm-g*
        <<
        Description: C/C++ compiler cache - As default compiler
        DescDetail: <<
@@ -74,10 +86,6 @@
        echo "Additionally, the default cache size is 1 Gig."
        echo "so you may want to run \"CCACHE_DIR=%p/var/ccache ccache -M 
500M\" (for example)"
        echo "to limit the size of the cache."
-       echo ""
-       echo "If you want --build-as-nobody to work with ccache-default,"
-       echo "I suggest: sudo chown -R fink-bld %p/var/ccache"
-       echo "and never building as root (always --build-as-nobody)."
        echo "***************** WARNING ********************"
        <<
 <<


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to