If you want to remove the RPATH entries you're probably better off editing the
configure/os/CONFIG files to remove the options, although you may find you
have to set /etc/ld.so.conf so our build tools like flex and antelope are able
to run. I believe we've added an option to future releases to allow RPATH to
be turned off centrally.
On the contrary, RPATH entries are essential to the way our
packages are installed each to their own directory, otherwise
each user would have to maintain an insanely long LD_LIBRARY_PATH.
However, RPATHs pointing back to the build tree are not good,
which is why I took to the hack of installing each library and
binary in order and relinking it against the installed dependencies
with appropriate install tree RPATH settings (as opposed to
build tree RPATH settings).