42 Commits

Author SHA1 Message Date
kili
e30b58ad21 Update to ghc-8.2.2,
but mark it as broken for a few days.
2018-01-22 00:42:30 +00:00
kili
89e850c4b4 Update to ghc-8.0.1, but leave it marked as BROKEN for now. 2017-11-07 02:58:34 +00:00
kili
a8aae2853f Add quotes. Just in case someoen sets CC="my beloved C compiler". 2017-03-02 23:23:28 +00:00
kili
5fce04f350 Workaround: add --with-gcc=${CC} to hs-ports using cabal.
This should be fixed for real in libraries/Cabal (in the ghc
source tree), but I'm not going to do this for ghc-7.10.3.
2017-03-02 22:44:06 +00:00
kili
7d8da70e1a Merge -main and -doc subpackages. 2016-01-20 16:08:29 +00:00
kili
4fb1811aac Update to ghc-7.10.3. 2015-12-20 11:04:27 +00:00
kili
7e53383774 Update to ghc-7.10.2.
Updates to all hs-* ports related to meta/haskell-platform will
follow soon. Other hs-* ports will be fixed during the next days.
2015-09-19 07:42:56 +00:00
kili
04c1e03900 Bugfix udpate to ghc-7.8.4.
Also, use a new(er) bootstrapper; note that we have to use 7.8.3
for this, because if the built ghc and the bootstrapper have identical
versions, things will fail badly. May be it's not the ghc but the
cabal version which is problematic, but at the moment, I really
don'y call about *this* problem.
Still marked as broken. I hope to send promised diffs and new ports
for discussion tomorrow and then enable ghc and haskell-platform
on monday.
2015-01-01 19:25:36 +00:00
kili
d4c487a9ff Update to ghc-7.8.3, but mark as broken until all other
hs ports are done.

Please note that it still doesn't use shared libraries, so
still no ghci (and a lot of hs-ports not buildable) on i386.
2014-11-22 20:23:22 +00:00
kili
7eb2711b9b Add comments to ports which meta/haskell-platform depends on, to
stop other people wasting time on updates which should not be done.

ian@ ran into this (while working on devel/hs-aeson and
textproc/hs-attoparsec), and even I didn't notice before trying to
build all Haskell ports (including meta/haskell-platform) with his
diffs.
2014-06-19 18:58:01 +00:00
kili
748a5c63c6 Interactive ghc (ghci, runghc etc.) is currently broken again on i386.
So let's switch to compiling Setup scripts once more, to give at least
a few more hs packages to be built on i386, until I figure out a fix
for rts/Linker.c.
Unfortunately, the current breakage also affects template haskell,
which still leads to a lot of unbuildable ports, for example
devel/hs-vector.
2014-01-11 20:22:21 +00:00
kili
48a59515ed Adjust MASTER_SITES to follow the new layout of hackage.haskell.org, which switched
to hackage 2.
2013-10-22 20:03:21 +00:00
kili
5df364205b Update to ghc-7.6.3, revert my last two obsolete changes and
mark it as broken until all depending ports have been updated.
2013-07-18 21:43:23 +00:00
espie
f5cca2b075 convert to using intermediate *TARGET, as discussed with a few people.
(the waf version actually works, contrary to my former patch, as
CONFIGURE_STYLE must be set before modules)
2013-07-02 08:36:16 +00:00
espie
0662a4e9d6 PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:20:26 +00:00
kili
91a533f650 Enable profiling by default for ports containing Haskell libraries.
Suggested by David Schaefer.

Mark ghc broken temporarily until all necessary plist changes
are committed.

ok jasper@ dcoppa@
2013-01-20 17:51:14 +00:00
kili
25c8820878 Use runghc for Setup.l?hs, which should always work now (with rthreads).
Bulk tests done by naddy@ and sthen@. thanks.
2012-11-08 22:21:45 +00:00
kili
b2e79ee47e Update to ghc-7.4.2, but keep it marked as broken (and not only for amd64).
Most of the -nopie changes are from pascal@ (thanks); I only had to
merge them for ghc-7.4 and tweak configure and mk/config.mk.in.
2012-09-02 19:53:46 +00:00
kili
af5b2adfde Switch back to compiling Setup.l?hs and running the resulting program
instead of using runghc (the interpreter).

This is a *workaround* for the following two symptoms:

- Setup.hs: waitForProcess: resource exhausted (Resource temporarily
  unavailable)

- Setup.hs: fd:15: hGetContents: illegal operation (Inappropriate
  ioctl for device)

Note that this is not a *fix*. I'm sure there's some misbehaving
signal handler, either in runghc/ghci or in the ghc runtime library.

(No, it's *not* rts/posix/Signals.c:generic_handler(); I patched
it to preserve errno, but it didn't help)

Until I find the bug, it's better to let bulk builds pass without
(or with less) errors.

ok (with the workaround) espie@
2011-07-25 21:45:15 +00:00
kili
f08f365520 Update to ghc-7.0.4.
i386 tests done by Jona Joachim (thanks!).
2011-06-30 21:26:15 +00:00
kili
71daab7260 Move almost all Haskell distfiles fetched from hackage.haskell.org
into a common subdirectory `ghc', and also move the ghc distfiles
there (from ghc-${MODGHC_VER}).

This will avoid potential conflicts of hs-* ports distfiles coming
from hackage.haskell.org with distfiles used by other ports.

Based on an idea from dcoppa@ for databases/hs-redis.

ok dcoppa@

If you want to save some bandwdith and disk space, see my mail to
ports@, which contains a shell script that can move distfiles around
under your DISTDIR.
2011-04-23 20:16:38 +00:00
jeremy
4694195495 Use new style depends in comment.
OK jasper@
2011-04-20 18:17:27 +00:00
kili
a9bd7fa59f For cabalized haskell ports, let Setup configure and Setup build
be a little bit more verbose. It's annoying if you don't see what's
going on during configure and which options are passed to ghc during
build.
2011-04-13 15:20:15 +00:00
kili
cdffd322bb Update to 7.0.3.
ok jasper@ (who also gave an ok to all the depending updates).
2011-04-11 14:30:32 +00:00
ajacoutot
7df3db803b avialable -> available 2010-12-15 13:59:54 +00:00
espie
06ad2fd17f use =${VERSION} dialect 2010-11-26 17:27:38 +00:00
espie
88d20077a4 new depends 2010-11-17 08:05:12 +00:00
kili
5d2959114a Add a `pkgpath' field to installed GHC libraries. Only applies to
libraries not coming together with ghc. This allows for looking up
a library's PKGPATH by running

        ghc-pkg field $pkgname pkgpath

where $pkgname is the GHC library name without the `hs-' prefix,
for example `ghc-paths'.

looks good to jasper@
2010-11-03 21:32:08 +00:00
jasper
16d19cb348 Move things around a little bit for Haskell libraries (built with
cabal and without nort), to avoid collisions with other (non-Haskell)
ports;

- Documentation is installed as ${PREFIX}/share/doc/hs-$foo instead of
  ${PREFIX}/share/doc/$foo.

- The library itself (and its interface files) is installed as
  ${PREFIX}/lib/ghc/$foo instead of ${PREFIX}/lib/$foo.

- Additional files will be installed in ${PREFIX}/share/hs-$foo instead
  of ${PREFIX}/share/foo.

from kili@

depending port's plists will be adjusted in a few
2010-10-28 13:49:09 +00:00
jasper
681dbc4afb - fix URL 2010-09-23 12:26:37 +00:00
jasper
fbe696e789 - append lang/ghc to CATEGORIES iff !nort
ok kili@
2010-09-22 22:09:53 +00:00
jasper
b63b6c45f4 - fix a variable name in comment
ok kili@
2010-09-22 22:02:38 +00:00
kili
1e375f016d Require ghc-doc to get all links enabled for ports that use haddock.
This needs a bump to all ports with MODGHC_BUILD=haddock, but there
are some more changes pending, so I'll not du the bumps now.
2010-06-18 21:37:16 +00:00
kili
7d63ac0258 Update to ghc-6.12.3 (bugfix release), plus some minor changes:
- Use integer-gmp again.

- Cleanout the extracted bootstrap directory right after installing it
  to save some disk space.

- Use ${MAKE_ENV} instead ${MODGHC_SETUP_CONF_ENV} in ghc.port.mk (in
  do-configure, use both).

- Don't compile Setup.l?hs, just use the interpreter (runghc) in
  ghc.port.mk. This speeds up the build of most ports depending on
  ghc and using a cabal-style build.

Necessary bumps and WANTLIB changes in ports using ghc will follow
later this evening.
2010-06-15 15:34:03 +00:00
kili
d124326763 Change ghc.port.mk to allow addition of flags to MODGHC_SETUP_PROG by
just setting MODGHC_SETUP_CONF_ARGS (which is now empty by default).

Add dblatex-created documentation.

While here, use our INSTALL* macros where possible to get correct
permissions (noticed by dcoppa@). This does *not* fix the permissions
of libraries and interface files installed by Cabal-based tools,
because the permissions are hard-coded in Cabal, and I'm not going
to touch and fix Cabal ever, because IMHO it's completely broken
by design. (If you want to read some of this madness, have a look
at libraries/Cabal/Distribution/Compat/CopyFile.hs or even
libraries/Cabal/Distribution/Simple/Install.hs)

Expect some breakage of depending ports (at least of devel/darcs) and
some necessary WANTLIB changes, which will be fixed soonish.
2010-05-06 20:00:19 +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
espie
b75dec414c fix a few obviously wrong dependencies, and remove extra shells in ghc. 2006-11-20 13:07:19 +00:00
alek
da0914ecfa Add MODGHC_RUNTIME to add/remove runtime dependency on lang/ghc.
From Jon Olsson <jon@vexed.se>
2006-07-30 13:21:38 +00:00
dons
d1837aebea Port ghc-6.2.2 to amd64.
ok pvalchev@
2005-02-19 03:42:11 +00:00
dons
cd5fda6e80 Update ghc to 6.2.2.
Adds support for ghci. More stable foreign function interface.

Just i386 at the moment.

ok sturm@ pvalchev@
2005-02-14 01:26:56 +00:00
xsa
9d761fa2f0 prepare for new-style MODULES; ok dons@. 2004-08-10 08:14:34 +00:00