diff options
-rw-r--r-- | media-gfx/wings/wings-2.1.5.ebuild | 9 |
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() { |