diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-07-02 13:06:10 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-07-02 13:08:32 +0200 |
commit | 4c797a42378b03c44d1a8d6684c25af3b330f5ef (patch) | |
tree | c57145d2f4aa9a9142349e3261cac23c962fe209 /media-gfx/wings | |
parent | dev-libs/openssl: Stable for PPC64 (bug #585276). (diff) | |
download | gentoo-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.ebuild | 9 |
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)" |