Update of /cvsroot/fink/dpkg-base-files
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv25573

Modified Files:
        ChangeLog dpkg-base-files.info.in 
Log Message:
be more conservative about where to look for previous .la


Index: dpkg-base-files.info.in
===================================================================
RCS file: /cvsroot/fink/dpkg-base-files/dpkg-base-files.info.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- dpkg-base-files.info.in     3 Jan 2010 16:36:38 -0000       1.7
+++ dpkg-base-files.info.in     8 Jan 2010 07:09:54 -0000       1.8
@@ -11,8 +11,8 @@
 PostInstScript: <<
        if [ "$1" = "configure" ]; then
                echo "Cleaning up all installed .la files (this may take a 
moment)"
-               echo '  find "%p" -name '"'"'*.la'"'"' -and -type f -print0 | 
xargs -0 perl -pi -e "s/^(dependency_libs)=.*/\1='"''"'/" || true'
-               find "%p" -name '*.la' -and -type f -print0 | xargs -0 perl -pi 
-e "s/^(dependency_libs)=.*/\1=''/" || true
+               echo '  find "%p/lib" "%p/opt" "%p/Applications" "%p/Library" 
-name '"'"'*.la'"'"' -and -type f -print0 | xargs -0 perl -pi -e 
"s/^(dependency_libs)=.*/\1='"''"'/" || true'
+               find "%p/lib" "%p/opt" "%p/Applications" "%p/Library" -name 
'*.la' -and -type f -print0 | xargs -0 perl -pi -e 
"s/^(dependency_libs)=.*/\1=''/" || true
        fi
 <<
 #

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/dpkg-base-files/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- ChangeLog   3 Jan 2010 16:36:38 -0000       1.17
+++ ChangeLog   8 Jan 2010 07:09:54 -0000       1.18
@@ -1,3 +1,9 @@
+2010-01-08  Daniel Macks  <[email protected]>
+
+       * dpkg-base-files.info.in: only bother to check in places where
+       .la are likely to exist (avoid wasting time in share/, don't mess
+       with %b or %i of other pkgs)
+
 2010-01-03  Daniel Macks  <[email protected]>
 
        * dpkg-base-files.info.in, postinst.in: activate the real .la


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to