1 |
commit: c2570a1964197ee65489c98b265390f25d492ecf |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 10 11:24:44 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 10 11:25:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2570a19 |
7 |
|
8 |
media-gfx/wings: Set CC, fix CFLAGS |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=747481 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
media-gfx/wings/wings-2.2.6.1.ebuild | 7 +++++++ |
15 |
1 file changed, 7 insertions(+) |
16 |
|
17 |
diff --git a/media-gfx/wings/wings-2.2.6.1.ebuild b/media-gfx/wings/wings-2.2.6.1.ebuild |
18 |
index b6561579ab6..d030dc78202 100644 |
19 |
--- a/media-gfx/wings/wings-2.2.6.1.ebuild |
20 |
+++ b/media-gfx/wings/wings-2.2.6.1.ebuild |
21 |
@@ -2,6 +2,7 @@ |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
+inherit toolchain-funcs |
26 |
|
27 |
DESCRIPTION="Wings 3D is an advanced subdivision modeler" |
28 |
HOMEPAGE="http://www.wings3d.com/" |
29 |
@@ -22,8 +23,14 @@ DEPEND=" |
30 |
${RDEPEND} |
31 |
" |
32 |
|
33 |
+src_prepare() { |
34 |
+ sed -i -e 's# -Werror##g;s# -O3##g' $(find -name Makefile) || die |
35 |
+ default |
36 |
+} |
37 |
+ |
38 |
src_compile() { |
39 |
export ERL_PATH="/usr/$(get_libdir)/erlang/lib/" |
40 |
+ tc-export CC |
41 |
# Work around parallel make issues |
42 |
# Set ER_LIBS to the top source directory |
43 |
emake vsn.mk |