Path to this page:
./
lang/ghc98,
Compiler for the functional language Haskell - 9.8 Release Series
Branch: CURRENT,
Version: 9.8.2nb1,
Package name: ghc-9.8.2nb1,
Maintainer: pkgsrc-usersGHC: 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.8.x release series.
DEINSTALL [+/-]#!/bin/sh
#
PKGVERSION_NOREV="@PKGVERSION_NOREV@"
RM="@RM@"
RMDIR="@RMDIR@"
TRUE="@TRUE@"
case ${STAGE} in
DEINSTALL)
# We can't just remove the entire package.conf.d because then
# reinstalling GHC would destroy the database and every installed
# Haskell package breaks.
${RM} -f ${PKG_PREFIX}/lib/ghc-${PKGVERSION_NOREV}/lib/package.conf.d/package.cache*
${RMDIR} -p ${PKG_PREFIX}/lib/ghc-${PKGVERSION_NOREV}/lib/package.conf.d 2>/dev/null || ${TRUE}
;;
esac
Master sites:
Filesize: 31672.426 KB
Version history: (Expand)
- (2024-04-28) Updated to version: ghc-9.8.2nb1
- (2024-04-28) Package added to pkgsrc.se, version ghc-9.8.2 (created)
CVS history: (Expand)
2024-07-30 13:38:42 by Thomas Klausner | Files touched by this commit (1) |
Log message:
ghc98: fix PR 58379
Add -D__STDC_NO_ATOMICS__ to CFLAGS per upstream recommendation
to disable AVX-512 support.
Fixes build on at least NetBSD systems with AVX-512 CPUs.
Enabled unconditionally since there are reports that this also
causes problems on other operating systems.
Ok pho@
|
2024-06-22 14:16:40 by Jonathan Perkin | Files touched by this commit (1) |
Log message:
ghc98: Attempt to fix dependencies on Darwin.
With libiconv being included but overridden with PREFER=native in the main
package, this ends up breaking dependencies as they expect the libiconv package
to be installed.
For now just exclude the libiconv include in the bl3, but this could really do
with a cleaner fix.
|
2024-06-20 14:49:39 by Jonathan Perkin | Files touched by this commit (2) |
Log message:
ghc98: Incredibly ugly workaround to fix Darwin.
Ultimately, the problem here is that GHC goes looking for things in places it
should not be. If libiconv is installed, it ends up trying to link against the
pkgsrc libiconv, even if it is not buildlinked. The problem is that the
bootstrap kits are built with native libiconv, and so this breaks the build as
they are looking for iconv_*() vs pkgsrc libiconv which uses libiconv_*().
Unfortunately setting PREFER.iconv=native isn't enough. For some reason gtar
is being pulled in as a tool, and because of nls that ends up pulling in
gettext-lib and therefore libiconv, which still breaks the build. The native
tar works fine on Darwin, so we also need to add an exclusion to avoid gtar
being added to USE_TOOLS.
This "fix" will only really work in bulk builds. As soon as libiconv is
installed via any other dependency it's game over.
|
2024-05-12 07:09:58 by Masatake Daimon | Files touched by this commit (2) |
Log message:
lang/ghc98: Add an upstream URL to a patch
|
2024-05-12 05:40:55 by Masatake Daimon | Files touched by this commit (2) |
Log message:
lang/ghc98: Add an upstream URL to a patch
|
2024-05-12 04:52:35 by Masatake Daimon | Files touched by this commit (3) |
Log message:
lang/ghc98: Add an upstream URL to a patch
|
2024-05-11 20:37:40 by Masatake Daimon | Files touched by this commit (4) |
Log message:
lang/ghc98: Remove a patch that we no longer need
|
2024-05-11 16:55:52 by Masatake Daimon | Files touched by this commit (2) |
Log message:
lang/ghc98: Add an upstream URL to a patch
|