mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
sys-cluster/scr: fix RPATH
Closes: https://bugs.gentoo.org/836250 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -44,6 +44,10 @@ RDEPEND="
|
||||
yogrt? ( sys-cluster/libyogrt[slurm?] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
app-admin/chrpath
|
||||
app-misc/pax-utils
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.0_pre2-shared-libscr_base.patch"
|
||||
@@ -103,6 +107,9 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
for i in $(scanelf -RBF %F "${ED}/usr/bin/") ; do
|
||||
chrpath -d "${i}" || die
|
||||
done
|
||||
# find "${ED}" -name '*.a' -delete || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user