summaryrefslogtreecommitdiff
path: root/lang/ghc90
AgeCommit message (Collapse)AuthorFilesLines
2022-02-24lang/ghc90: Use ${_PKGSRC_MKPIE} instead of ${_OPSYS_SUPPORTS_MKPIE}pho1-5/+9
It's the variable that indicates if MKPIE is requested and feasible on the platform. In fact I originally wrote a condition mentioning ${_PKGSRC_MKPIE}, but it somehow got lost while I was refactoring the code.
2022-02-17Correct wrong checksums for the Darwin/x86_64 bootkitpho1-4/+4
2022-02-06When the LLVM backend is enabled, use clang as the assemblerpho4-68/+84
This turned out to be necessary because LLVM 13 emits assembly code that is incompatible with "as" from Binutils < 2.36.
2022-01-18Update to GHC 9.0.2pho8-78/+90
* Now the package supports PKGSRC_MKPIE. * The full list of changes is too long to paste here. See https://downloads.haskell.org/~ghc/9.0.2/docs/html/users_guide/9.0.2-notes.html
2021-12-18revbump for libffipho1-2/+2
2021-12-08revbump for icu and libffiadam2-4/+4
2021-11-21Replace RMD160 checksums with BLAKE2s checksumspho1-15/+15
2021-10-07lang: Remove SHA1 hashes for distfilesnia1-9/+1
2021-09-30ghc90: Switch to fixed SunOS bootstrap.jperkin4-28/+54
Also apply the "cp -p" fix from other versions, removing the need for ln workarounds on OmniOS.
2021-09-27Disable MKPIE in Haskell.nia1-1/+3
Presumably there's a way to make this work, but it probably requires changes to the bootstrap kits.
2021-07-14ghc90: Ensure bsd.prefs.mk is included.jperkin1-1/+3
Fixes builds on OS where PKG_SUPPORTED_OPTIONS is not defined, so bsd.options.mk is not pulled in, but OPSYS is still tested.
2021-05-23Do not include ../../lang/llvm/buildlink3.mkpho1-4/+4
GHC only needs bin/opt and bin/llc but not libLLVM, so inheriting its dependencies does not make sense.
2021-05-22ghc90: remove conflicts linewiz1-4/+1
The PKGNAME is ghc-* so there is no point in a conflict with ghc-*
2021-05-22Add upstream URLs in the patch commentpho3-7/+7
2021-05-21Built a bootkit for NetBSD/aarch64pho6-12/+108
Also the package is now more explicit about LLVM. It used to invoke whatever llc(1) and opt(1) found in the $PATH when -fllvm is passed to the compiler, though it's not the default backend. Now LLVM is an explicit, optional dependency on platforms where NCG backend is available, and a mandatory dependency on others. Note that the LLVM backend tends to produce faster code but it runs significantly slower than NCG. AArch64 support of NCG is being worked on, but it hasn't been merged to the 9.0 branch yet (or even the master branch).
2021-05-05Add upstream URLs to patch commentspho9-21/+38
2021-05-01Don't use "response file" while invoking CC and LDpho4-8/+74
Our tool wrappers don't look into response files, so common mistakes such as forgetting to declare dependencies have been overlooked by our buildlink framework. With the change that will no longer happen.
2021-04-30Rebuilt the bootkit for FreeBSD/amd64pho1-5/+5
It was accidentally depending on pkgsrc gmp.
2021-04-30Rebuilt the bootkit for FreeBSD/i386pho1-10/+10
It was accidentally depending on pkgsrc gmp.
2021-04-30Rebuilt the bootkit for Darwin/x86_64pho1-5/+5
It was accidentally depending on pkgsrc gmp.
2021-04-30Add a bootkit for SunOS/x86_64pho6-27/+78
Also fixed a bug in the previous commit which would produce non-installable bootkits.
2021-04-29Apply jperkin@'s $ORIGIN removal patchpho7-23/+84
2021-04-27Swith to CHECK_SHLIBS_SUPPORTED=no from individual CHECK_SHLIBS_SKIP list ↵pho1-7/+9
(pkg/56125) Our binary packages have been broken because of bad "REQUIRES" entries: GHC uses $ORIGIN in rpath but mk/pkgformat/pkg/metadata.mk uses ldd(1) to extract the list of required .so objects, which causes them to be wrongly expanded.
2021-04-27Added a bootkit for Darwin/x86-64pho3-20/+17
2021-04-27Added a bootkit for FreeBSD/amd64pho3-11/+15
2021-04-26Add a bootkit for FreeBSD-*-i386pho5-22/+42
2021-04-23Drop run-time dependency on perlpho3-23/+5
GHC has stopped requiring perl since 8.2.1 release. The last component written in Perl was the evil splitter (-fsplit-objs), which has been superseded by -fsplit-sections. Hooray!
2021-04-22Enable PaX MPROTECT and ASLR for everything but ghc-iserv and ghc-iserv-profpho4-65/+33
Now that allocateExec() in rts/sm/Storage.c uses libffi to map executable pages, we no longer have to disable these protections unless the RTS linker is to be used.
2021-04-22Implement getNumberOfProcessors() for NetBSDpho5-6/+56
2021-02-25ghc90: Fix buildlink3 filenia1-4/+4
2021-02-16ghc90: Fix COMMENTryoon1-2/+2
2021-02-09lang/ghc90: import ghc-9.0.1ryoon24-0/+1048
GHC: The Glasgow Haskell Compiler. The Glasgow Haskell Compiler is a robust, fully-featured, optimising compiler for the functional programming language Haskell 98 (http://www.haskell.org). GHC compiles Haskell to either native code or C. It implements numerous experimental language extensions to Haskell, including concurrency, a foreign language interface, several type-system extensions, exceptions, and so on. GHC comes with a generational garbage collector, a space and time profiler, and a comprehensive set of libraries. This package provides the 9.0.x release series.