10 Commits

Author SHA1 Message Date
Natanael Copa
920e2b317d community/ghc: build fix. use GNU cpio 2018-06-12 12:04:59 +00:00
Natanael Copa
5add9615fe community/ghc: build fix 2018-06-12 10:10:46 +00:00
Natanael Copa
09fbccd0e6 community/ghc: upgrade to 8.4.3 2018-06-12 07:36:35 +00:00
Mitch Tishmack
0194bb7bf4 community/ghc: upgrade to 8.4.2
There is only one package that depends on ghc right now, and that is
community/cabal.

Removed armhf support for now as there appear to be overall issues with
that architecture across libc's. Additionally, for 8.6 to build we will
need to update to at least 8.2. As such, dropping support for armhf
makes the most sense for right now. I'll continue working with upstream
to fix it.

Removed the haskell-* provides as that was originally a plan to follow
what arch was doing for their haskell setup. In lieu of that not
providing value removing them entirely.

The ghc test suite was updated to use python 3 from python 2.

Finally really late in the release candidate cycle a change to ld
detection necessitated the need to pass --disable-ld-override to the
configure of ghc.

Without that in place there appears to be some shenanigans going on
in exported symbols.

Ghc upstream ticket:
https://ghc.haskell.org/trac/ghc/ticket/13958

Offending commmit:
https://git.haskell.org/ghc.git/commitdiff/2785ef0e31a123400da950ffafebe6cb1ce3f4eb
2018-06-12 07:36:35 +00:00
Jakub Jirutka
145f3ef397 community/ghc: replace makedepend haskell-ghc with ghc-bootstrap
Related to 061af43096c5e86becce3336f30b57d990c5544b and
061af43096c5e86becce3336f30b57d990c5544b.
2018-05-24 20:10:43 +02:00
Jakub Jirutka
7afc1743dc community/ghc: temporarily remove ghc-bootstrap from makedepends
Fixes commit 3fae6aefc1545f895b1190ea88c769fcfcc1d0a3.
2018-05-24 15:03:34 +02:00
Jakub Jirutka
3fae6aefc1 community/ghc: temporarily add haskell-ghc to makedepends
To be able to build it now (haskell-ghc is already provided by ghc
aport, so we can use it instead of newly added ghc-bootstrap).
2018-05-24 14:54:35 +02:00
Jakub Jirutka
061af43096 community/ghc: add ghc-bootstrap to provides and makedepends
This is a hack to allow ghc depend on itself (read comment inside the
abuild).
2018-05-24 14:53:19 +02:00
Jakub Jirutka
63f5e7d295 [various]: unify names of licenses according to SPDX
This commit updates $license variable in all APKBUILDs to comply with
short names specified by SPDX version 3.0 [1] where possible. It was
done using find-and-replace method on substrings inside $license
variables.

Only license names were updated, not "expressions" specifying relation
between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or
exceptions (e.g. "X with exceptions").

Many licenses have a version or multiple variants, e.g. MPL-2.0,
BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not
contain license version or variant. Since there's no way how to infer
this information just from abuild, it were left without the variant
suffix or version, i.e. non SPDX compliant.

GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They
exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later
(formerly e.g. GPL-2.0+). We did not systematically noted distinguish
between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean
GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g.
GPL2+) were left without the variant suffix, i.e. non SPDX compliant.

Note: This commit just fixes format of the license names, no
verification has been done if the specified license information is
actually correct!

[1]: https://spdx.org/licenses/
2017-12-30 21:05:50 +01:00
Jakub Jirutka
3b5707d385 community/ghc: move from testing 2017-05-17 13:50:14 +00:00