Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 400979
Collapse All | Expand All

(-)spideroak-bin-4.7.9948.ebuild.orig (-1 / +11 lines)
Lines 22-28 Link Here
22
22
23
SSL_SLOT="0.9.8"
23
SSL_SLOT="0.9.8"
24
24
25
DEPEND=""
25
DEPEND="dev-util/patchelf"
26
RDEPEND="
26
RDEPEND="
27
	dbus? ( sys-apps/dbus )
27
	dbus? ( sys-apps/dbus )
28
	!headless? (
28
	!headless? (
Lines 113-118 Link Here
113
		# Remove bundled python interpreter => dev-lang/python:2.7
113
		# Remove bundled python interpreter => dev-lang/python:2.7
114
		rm usr/lib/SpiderOak/py || die "rm py failed"
114
		rm usr/lib/SpiderOak/py || die "rm py failed"
115
	fi
115
	fi
116
117
	# Set RPATH for preserve-libs handling (bug #400979).
118
	cd "${S}/usr/lib/SpiderOak" || die
119
	local x
120
	for x in * ; do
121
		# Use \x7fELF header to separate ELF executables and libraries
122
		[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
123
		patchelf --set-rpath '$ORIGIN' "${x}" || \
124
			die "patchelf failed on ${x}"
125
	done
116
}
126
}
117
127
118
src_install() {
128
src_install() {

Return to bug 400979