Douglas Soares de Andrade wrote:

Hi !

To recompile, bump the pkgrel and add:
find $startdir/pkg -name '*.la' -exec rm {} \;
at end of PKGBUILD to remove libtool files. This should work unless they
need to be patch for gcc4.

The line "find $startdir/pkg -name '*.la' -exec rm {} \;" could not be executed directly from makepkg ?

What i mean is that changing all the PKGBUILDs just to add this line at the end is so much work.
Indeed.

And since we dont want more libtool crap, i see that it a good idea to makepkg do it for us.
I have been wondering about the same thing - surely it is as simple as the attached patch?

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch


--- /usr/bin/makepkg    2005-09-16 19:25:37.000000000 +0100
+++ /usr/bin/makepkg.new        2005-10-01 02:03:19.000000000 +0100
@@ -622,6 +622,9 @@
        fi
 fi
 
+# remove libtool files
+find pkg -name '*.la' -exec rm {} \;
+
 # compress man pages
 msg "Compressing man pages..."
 find $startdir/pkg/{usr{,/local,/share},opt/*}/man -type f 2>/dev/null | while 
read i ; do
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to