From b8a08f31fe0a2750c8bd9f1a405c5b59a2528e8b Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 27 Feb 2016 00:57:26 +0100 Subject: [PATCH] media-sound/gmusicbrowser: fix start --- .../gmusicbrowser/gmusicbrowser-1.1.15.exheres-0 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/media-sound/gmusicbrowser/gmusicbrowser-1.1.15.exheres-0 b/packages/media-sound/gmusicbrowser/gmusicbrowser-1.1.15.exheres-0 index 320f4be..bc4c380 100644 --- a/packages/media-sound/gmusicbrowser/gmusicbrowser-1.1.15.exheres-0 +++ b/packages/media-sound/gmusicbrowser/gmusicbrowser-1.1.15.exheres-0 @@ -42,6 +42,13 @@ DEPENDENCIES=" plugins ] ]] " +src_prepare() { + edo sed -i \ + -e "s|\$FindBin::RealBin\,'\.\.'|'/usr'|" \ + -e "s|\$FindBin::RealBin\.SLASH\.'\.\.'|SLASH\.'usr'|" \ + gmusicbrowser.pl +} + src_install() { emake \ DOCS="AUTHORS NEWS README" \