11 Commits

Author SHA1 Message Date
kili
e80c5def54 fixup-hs-plist is no longer needed. 2019-09-10 20:55:26 +00:00
kili
77092f8492 Switch the manpage link for pledge(2) to man.openbsd.org. 2016-03-24 20:32:25 +00:00
kili
0cb5d3570e - Change the first argument to pledge (the promises) to Maybe String,
following the recent change to pledge(2) (passing NULL doesn't change
  the value).

- Use maybeWith instead of pattern matching to distinguish between
  Nothing and Just x.

- Add some minimal documentation.
2016-03-15 19:41:18 +00:00
kili
fed7c764ef Add a module System.OpenBSD.Process to package unix with currently
only one function giving access to the pledge(2) system call:

pledge :: String -> Maybe [FilePath] -> IO ()

Help and testing by semarie@ and abieber@. Thanks!

No bump yet, because there'll be some more churn (so please wait a
little bit for other haskell commits before starting to build it).
2016-01-20 16:02:06 +00:00
kili
04b85e65bd Add a little helper script that fixes / cleans up plists of hs-* ports. 2015-09-01 09:58:00 +00:00
kili
a2d22041b4 Update to 6.12.2.
Many thanks to Darrin Chandler and dcoppa@ for testing, reporting about
broken stuff, missing dependencies here and in ports depending on ghc.

Notes and rants:

- Bootstrapping is done using precompiled binaries, since .hc
  bootstrapping still doesn't work. I really hate this.

  THIS MEANS THAT GHC IS NOW AND WILL STAY LEGACY-ONLY (i386 and amd64)

  At least until someone fixes it. I tried for more than two year
  (well, only in my spare time and during my vacations) and failed.

- libgmp is currently disabled, because I didn't yet hack the GHC build
  system to use the system libgmp instead of the patched one included
  in GHC.

- The haddock ncluded in the ghc distfile is replaced by the version
  of haddock found in devel/haddock. Haddock itself is @commented
  in the ghc PLIST. Unfortunately, this needs an ugly hack that
  introduces an otherwise useless pseudo flavor `no_deps' in
  devel/haddock.

- CLDouble has been removed from GHC some time ago, because it was
  an alias for double (AFAIK there's now support for long double
  in GHC). As this isn't a really big problem, it currently breaks
  c2hs, which I'll mark broken temporarily before committing the
  ghc update.

- The external codeset defaults to latin1 (suggested by Simon Marlow)
  and can be overridden by setting the HS_ENCODING to any codeset
  supported by libiconv.

- ghc.port.mk still needs some love, especially for letting a port add
  additional parameters to certain invocations of ${MODGHC_SETUP_PROG}.
2010-04-22 21:49:37 +00:00
kili
87a3f71582 Update to 6.6.1. With helpful hints from Don Stewart and espie@.
Thanks to all the testers and to steven@, who was so kind to
build the HC files for bootstrapping on amd64.
2007-07-21 17:14:57 +00:00
xsa
9d761fa2f0 prepare for new-style MODULES; ok dons@. 2004-08-10 08:14:34 +00:00
dons
b3c56c6d98 Update GHC to 6.2.1, and port to amd64
ok avsm@ pvalchev@
2004-04-26 23:48:50 +00:00
avsm
f9f57467b2 Add support for sparc ghc.
Hard work by Donald Stewart <dons at cse.unsw.edu.au>
2004-01-08 20:33:23 +00:00
avsm
34b97c484f no need to define YACC, add in a ghc module Makefile to set common ghc defines 2003-07-23 18:26:35 +00:00