summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-06-12 09:42:59 +0200
committerJeroen Roovers <jer@gentoo.org>2016-06-12 09:53:12 +0200
commitab143f0303c6f4f1201a47171032755d6f3b11b7 (patch)
tree68bd750ff4e6ae07a8f8617c552fe1c3aa58498b
parentmedia-video/kaffeine: Remove 2.0.2 (diff)
downloadgentoo-ab143f0303c6f4f1201a47171032755d6f3b11b7.tar.gz
gentoo-ab143f0303c6f4f1201a47171032755d6f3b11b7.tar.bz2
gentoo-ab143f0303c6f4f1201a47171032755d6f3b11b7.zip
media-gfx/wings: Fix include_lib (bug #585654).
Package-Manager: portage-2.3.0_rc1
-rw-r--r--media-gfx/wings/wings-2.0.4.ebuild16
1 files changed, 15 insertions, 1 deletions
diff --git a/media-gfx/wings/wings-2.0.4.ebuild b/media-gfx/wings/wings-2.0.4.ebuild
index 9d7fc672fc9..67b2700c13a 100644
--- a/media-gfx/wings/wings-2.0.4.ebuild
+++ b/media-gfx/wings/wings-2.0.4.ebuild
@@ -20,6 +20,20 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+src_prepare() {
+ sed -i \
+ -e '/include_lib/s|wings/|../|' \
+ plugins_src/primitives/wpc_knot.erl \
+ plugins_src/primitives/wpc_plane.erl \
+ plugins_src/primitives/wpc_spiral.erl \
+ plugins_src/primitives/wpc_torus.erl \
+ plugins_src/wp9_dialogs.erl \
+ src/wings_text.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)"
@@ -28,7 +42,7 @@ src_configure() {
src_compile() {
# Work around parallel make issues
emake vsn.mk
- for subdir in intl_tools src fonts_src e3d icons plugins_src; do
+ for subdir in intl_tools src e3d icons plugins_src; do
emake ESDL_PATH="${ESDL_PATH}" -C ${subdir}
done
}