The attached patch fixes a problem with multiple target definitions that
give rise to warnings like this:
../../src/Makefile.shlib:327: warning: overriding commands for target `libtsearch2.a'
../../src/Makefile.shlib:262: warning: ignoring old commands for target `libtsearch2.a'
cheers
andrew