summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-07-02 13:06:10 +0200
committerJeroen Roovers <jer@gentoo.org>2016-07-02 13:08:32 +0200
commit4c797a42378b03c44d1a8d6684c25af3b330f5ef (patch)
treec57145d2f4aa9a9142349e3261cac23c962fe209 /media-gfx/wings
parentdev-libs/openssl: Stable for PPC64 (bug #585276). (diff)
downloadgentoo-4c797a42378b03c44d1a8d6684c25af3b330f5ef.tar.gz
gentoo-4c797a42378b03c44d1a8d6684c25af3b330f5ef.tar.bz2
gentoo-4c797a42378b03c44d1a8d6684c25af3b330f5ef.zip
media-gfx/wings: Fix include_lib (bug #585654) in 1.5.4.
Diffstat (limited to 'media-gfx/wings')
-rw-r--r--media-gfx/wings/wings-1.5.4-r1.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/media-gfx/wings/wings-1.5.4-r1.ebuild b/media-gfx/wings/wings-1.5.4-r1.ebuild
index 3524eb8003f4..87e60becea8c 100644
--- a/media-gfx/wings/wings-1.5.4-r1.ebuild
+++ b/media-gfx/wings/wings-1.5.4-r1.ebuild
@@ -21,6 +21,15 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+src_prepare() {
+ sed -i \
+ -e '/include_lib/s|"wings/|"../|' \
+ $(find . -name '*'.erl) \
+ || die
+
+ eapply_user
+}
+
src_configure() {
export ERL_PATH="/usr/$(get_libdir)/erlang/lib/"
export ESDL_PATH="${ERL_PATH}/$(best_version media-libs/esdl | cut -d/ -f2)"