summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-11-12 12:57:51 +0100
committerJeroen Roovers <jer@gentoo.org>2017-11-12 12:58:05 +0100
commitfcd1c36bd2230d833d46431f61142b7e26aade9b (patch)
tree51687689bc83cebefc356c1232e8c662c2b294fd /media-gfx
parentapp-antivirus/clamav: stable 0.99.2-r1 for ppc/ppc64, bug #619302 (diff)
downloadgentoo-fcd1c36bd2230d833d46431f61142b7e26aade9b.tar.gz
gentoo-fcd1c36bd2230d833d46431f61142b7e26aade9b.tar.bz2
gentoo-fcd1c36bd2230d833d46431f61142b7e26aade9b.zip
media-gfx/wings: Drop some compiler flags (bug #630406). Fix dependencies.
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/wings/wings-2.1.5.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/media-gfx/wings/wings-2.1.5.ebuild b/media-gfx/wings/wings-2.1.5.ebuild
index 212860eb8a20..e8f31fd40fc4 100644
--- a/media-gfx/wings/wings-2.1.5.ebuild
+++ b/media-gfx/wings/wings-2.1.5.ebuild
@@ -15,7 +15,9 @@ KEYWORDS="amd64 x86"
RDEPEND="
>=dev-lang/erlang-18.1[smp,wxwidgets]
dev-libs/cl
+ media-libs/glu
media-libs/libsdl[opengl]
+ virtual/opengl
"
DEPEND="${RDEPEND}"
@@ -26,6 +28,13 @@ src_prepare() {
-e '/include_lib/s|"wings/|"../|' \
$(find . -name '*'.erl) \
|| die
+
+ sed -i \
+ -e 's|-O3||g' \
+ -e 's|-Werror||g' \
+ -e 's|CFLAGS = |CFLAGS += |g' \
+ $(find . -name Makefile) \
+ || die
}
src_configure() {