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

Modified Files:
        ChangeLog dpkg-base-files.info.in postinst.in 
Log Message:
activate the .la cleanup code


Index: dpkg-base-files.info.in
===================================================================
RCS file: /cvsroot/fink/dpkg-base-files/dpkg-base-files.info.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- dpkg-base-files.info.in     28 Dec 2009 05:36:26 -0000      1.6
+++ dpkg-base-files.info.in     3 Jan 2010 16:36:38 -0000       1.7
@@ -12,9 +12,7 @@
        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 "dry-run-only debug; this would hit:"
-               find "%p" -name '*.la' -and -type f -print0 | xargs -0 echo || 
true
+               find "%p" -name '*.la' -and -type f -print0 | xargs -0 perl -pi 
-e "s/^(dependency_libs)=.*/\1=''/" || true
        fi
 <<
 #

Index: postinst.in
===================================================================
RCS file: /cvsroot/fink/dpkg-base-files/postinst.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- postinst.in 31 Dec 2009 16:26:19 -0000      1.8
+++ postinst.in 3 Jan 2010 16:36:38 -0000       1.9
@@ -15,7 +15,7 @@
 . @PREFIX@/bin/init.sh
 
 if [ "$2" = "configure" ]; then
-    echo "Cleaning up .la files being installed:"
+    echo "Cleaning up .la files being installed"
     if [ -z "$FINK_PACKAGE_NAME" ]; then
        echo "(skipping because cannot determine package-name)"
     else
@@ -26,12 +26,11 @@
            for lafile in `grep '\.la$' "$filelist"`; do
                if [ -f "$lafile" ] && [ ! -h "$lafile" ]; then
                    echo '  perl -pi -e "s/^(dependency_libs)=.*/\1='"''"'/" 
"'$lafile'" || true'
-#                  perl -pi -e "s/^(dependency_libs)=.*/\1=''/" "$lafile" || 
true
+                   perl -pi -e "s/^(dependency_libs)=.*/\1=''/" "$lafile" || 
true
                fi
            done
        fi
     fi
-    echo "dry-run-only debug"
 fi
 
 if [ -n "$1" ]; then

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/dpkg-base-files/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- ChangeLog   3 Jan 2010 16:27:35 -0000       1.16
+++ ChangeLog   3 Jan 2010 16:36:38 -0000       1.17
@@ -1,5 +1,10 @@
 2010-01-03  Daniel Macks  <[email protected]>
 
+       * dpkg-base-files.info.in, postinst.in: activate the real .la
+       cleaning code
+
+2010-01-03  Daniel Macks  <[email protected]>
+
        * inject.pl, install.sh, setup.sh: update copyright
 
 2009-12-28  Daniel Macks  <[email protected]>


------------------------------------------------------------------------------
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