From: Pacho Ramos Date: Sat, 23 Feb 2019 16:18:56 +0000 (+0100) Subject: app-admin/abrt: Use proper PATHs for non /usr merge systems X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fef0349a136560cd9fb970f1bfa8e817f4d20728;p=gentoo.git app-admin/abrt: Use proper PATHs for non /usr merge systems Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Pacho Ramos --- diff --git a/app-admin/abrt/abrt-2.12.0.ebuild b/app-admin/abrt/abrt-2.12.0-r1.ebuild similarity index 95% rename from app-admin/abrt/abrt-2.12.0.ebuild rename to app-admin/abrt/abrt-2.12.0-r1.ebuild index a8ed0ff492d4..fedc7d3e48b8 100644 --- a/app-admin/abrt/abrt-2.12.0.ebuild +++ b/app-admin/abrt/abrt-2.12.0-r1.ebuild @@ -64,6 +64,9 @@ src_prepare() { # Install under proper directory sed -i -e 's:dbusabrtdocdir = ${datadir}/doc/abrt-dbus-${VERSION}/html:dbusabrtdocdir = ${datadir}/doc/${PF}/html:' doc/problems-service/Makefile.am || die + # Ensure this works for systemd with and without /usr merge + sed -i -e "s:/usr/bin/bash:$(which bash):" init-scripts/abrtd.service || die + # pyhook test is sensitive to the format of python's error messages, and # fails with certain python versions sed -e '/pyhook.at/ d' \