1 |
On 17:26 Mon 24 Sep , Jurek Bartuszek (jurek) wrote: |
2 |
> jurek 07/09/24 17:26:38 |
3 |
> |
4 |
> Modified: ChangeLog |
5 |
> Added: libgdiplus-1.2.5-r1.ebuild |
6 |
> Log: |
7 |
> dev-dotnet/libgdiplus-1.2.5-r1: Fix linking against image libraries (bug #192068) |
8 |
> (Portage version: 2.1.3.9) |
9 |
|
10 |
> cd ${S} |
11 |
> |
12 |
> epatch ${FILESDIR}/${PN}-1.1.13-libungif-configure-fix.diff |
13 |
> epatch ${FILESDIR}/${P}-imglibs.patch |
14 |
|
15 |
Needs quotes for S and FILESDIR. |
16 |
|
17 |
> src_compile() { |
18 |
> if [[ "$(gcc-major-version)" -gt "3" ]] || \ |
19 |
> ( [[ "$(gcc-major-version)" -eq "3" ]] && [[ "$(gcc-minor-version)" -gt "3" ]] ) |
20 |
|
21 |
Code block { } might be good here instead of a subshell, or perhaps it |
22 |
could use logic that's less convoluted such as if..then. Also don't need |
23 |
the double quotes. |
24 |
|
25 |
> if use ppc ; then |
26 |
> sed -i -e 's:-Werror::g' src/Makefile |
27 |
> fi |
28 |
|
29 |
We should never leave -Werror in -- make this unconditional. It tends to |
30 |
cause large quantities of packages to break every time there's a |
31 |
compiler upgrade. |
32 |
|
33 |
Thanks, |
34 |
Donnie |
35 |
-- |
36 |
gentoo-dev@g.o mailing list |