* On 2021-10-16 at 18:22 BST, Greg Troxel wrote:
Thomas Klausner <wiz%NetBSD.org@localhost> writes:I don't think that cmake is doing a relinking step during installation (like e.g. libtool). So having /path/to/build/dir in the rpath at all seems wrong to me.I used to think that too, but I have seen the scheme I describe in action with geos (3.10, not yet in pkgsrc) as verified by objdump -x.
Are you explicitly running with PKG_DEVELOPER turned off or something? Leaking RPATHs to the build dir is obviously completely broken, and check-shlibs should be catching that unless we're hitting a bug somewhere.
-- Jonathan Perkin - Joyent, Inc. - www.joyent.com