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

Modified Files:
        ccache.info 
Log Message:
upstream update, also chown -R %p/var/ccache fink-bld


Index: ccache.info
===================================================================
RCS file: /cvsroot/fink/experimental/fangism/finkinfo/ccache.info,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- ccache.info 14 Aug 2012 23:00:54 -0000      1.11
+++ ccache.info 13 Feb 2013 00:02:32 -0000      1.12
@@ -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-gcc*
+for f in cc c++ c++-* gcc* g++* *-apple-darwin*-g* c89 c99
 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,8 @@
                bin/g++*
                bin/gcc*
                bin/*-apple-darwin*
+               bin/c89
+               bin/c99
        <<
        Description: C/C++ compiler cache - As default compiler
        DescDetail: <<
@@ -74,10 +84,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