or even better.... (patch attached)

Regardless of whether Judd makes a similar change upstream is there any reason why I can't patch my own makepkg in this way? Is there some as yet unforseen problem? I don't think so - seems very simple.

Phil

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. And since we dont want more libtool crap, i see that it a good idea to makepkg do it for us.

_______________________________________________
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:06:03.000000000 +0100
@@ -622,6 +622,10 @@
        fi
 fi
 
+# remove libtool files
+msg "Removing 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