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? Denis -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org