Submitted by: gelraen.ua@gmail.com
Reviewed by:
Approved by: gabor (mentor)
Obtained from:
MFC after:
Security:
Feature safe: yes
On some machines resulting binaries contains "/usr/lib" before "/usr/local/lib/gcc45" in rpath and user gets something like
this if tries to launch that binary:
/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.10 required by /usr/local/bin/eiskaltdcpp-gtk not found
Attached patch adds BUILD_DEPENDS on devel/chrpath, which is used to overwrite rpath in built binaries (-DCMAKE_INSTALL_RPATH
only aappends directories to rpath)