On Mon, May 17, 2010 at 9:43 PM, Denis Barbier <bou...@gmail.com> wrote: > On 2010/5/17 Mathieu Malaterre wrote: >> Since VTK is in pretty good shape I'd like to introduce the same hack >> I used in GDCM, to clean the VTKLibraryDepends.cmake file. >> >> I am thinking in running something like: >> >> sed -e 's...@general;/usr/lib[64]*/lib[a-z0-9]\+.so;@@' >> VTKLibraryDepends.cmake >> >> to remove any link to /usr/lib/lib* files. >> >> I have not found how to run this sed expression multiple times on the same >> line. >> >> This would solve bug #561396 > > I fully agree, but it won't help here, your regexp does not catch > /usr/lib/jvm/default-java/jre/lib/*/libjawt.so > You may try instead > sed -e 's...@general;/usr/[^;]*\.so;@@g' VTKLibraryDepends.cmake > Is this file needed at all on Debian systems?
Yes ! See for instance use-case: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579642 cmake does not use pkgconfig and such but instead read this kind of file to track dependant library (which is really only usefull for static lib...). Dominique/Maitland any suggestion for the patch ? Thanks, -- Mathieu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org