Commit Graph

1953 Commits

Author SHA1 Message Date
phessler
54dabd3ec0 use @comment as intended 2010-05-29 17:00:47 +00:00
naddy
64efb2864e make sure __GNUC__ etc are defined on gcc3 platforms; from espie@ 2010-05-28 21:28:16 +00:00
ajacoutot
0f58ccf412 full stop. 2010-05-27 09:13:16 +00:00
espie
c8e698ca29 +g77-old
+libf2c-old
2010-05-27 08:38:47 +00:00
espie
a12b97f54d initial attempt at g77 2.95.3 port
not really tested completely, but necessary to un-brick old arches ports...
2010-05-27 08:36:21 +00:00
ajacoutot
a7c3ba32c3 full-stop. 2010-05-25 05:04:29 +00:00
espie
1265f604e3 add fortran 2010-05-25 00:47:56 +00:00
espie
6302399d79 g77 port, from gcc 3.3.5 2010-05-24 22:43:57 +00:00
espie
1b7d4dac0c force -fno-dollars-in-identifier, for predictable build 2010-05-22 10:17:36 +00:00
kili
bcea0ad2ce Silent register.sh/unregister.sh after the change to Cabal in ghc.
Run unregister.sh with `--force'.
2010-05-19 15:58:18 +00:00
kili
bb2f61a7e2 Oops! Forgot to bump pkgname. 2010-05-19 15:04:27 +00:00
kili
ca40125cf1 Let Cabal-generated register.sh and unregister.sh scripts pass
paraemters to ghc-pkg. Remove the (now obsolete) patch for Register.hs.

Ports that build ghc libraries should now use the following
@exec/@unexec magic (('ve already diffs for all the hs-* ports in
my tree):

lib/${DISTNAME}/register.sh
@exec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/register.sh -v0
@unexec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/unregister.sh -v0 --force
lib/${DISTNAME}/unregister.sh
2010-05-19 14:23:15 +00:00
espie
78ac61b9a6 cheat a bit, tell configure we have socklen_t, even though sys/socket.h
alone won't get it.
fixes gcc4
2010-05-19 14:23:02 +00:00
dcoppa
0ad1957d15 Merge patches from upstream errata page.
While here, adjust PKGNAME and use SUBST_CMD instead of the usual
"perl dance".

OK sthen@
2010-05-17 08:18:59 +00:00
kili
d409d7b95e Zap __eprintf reference from Linker.c to fix the build with gcc4
(found by espie@).

Thanks to sthen@ for creating the i386 bootstrapping tarball.
2010-05-16 13:51:26 +00:00
ajacoutot
fc908f7fe4 Bump after recent mono MODULE change.
"sure" robert@
2010-05-15 09:40:17 +00:00
ajacoutot
1b229dd600 Fix substitution for DLLMAP_FILES.
This makes sure we catch all the stupid so.X stuffs.

ok robert@
2010-05-15 09:37:48 +00:00
kili
d73ffa853b Use @unexec. I must have been on drugs when using @unexec-delete
for unregister.sh in all the new ghc libraries (which leads to bogus
registered ghc packages after updates).

You can use the command

        ghc-pkg check

to check ghcs internal package list. If it reports missing files
for some package (like hashed-storage-0.4.11), you can forcibly
unregister it by running (as root) something like

        ghc-pkg unregister hashed-storage-0.4.11

ok dcoppa@
2010-05-14 09:08:25 +00:00
jasper
2ab4831a5b - tweak Makefile to fit 80 column width
- add some more flesh to DESCR
2010-05-13 18:14:17 +00:00
espie
439d0e1670 having an alloca that matches includes is a plus... 2010-05-13 17:15:07 +00:00
espie
68dccf6f67 fixes for gcc4:
- obstack.h uses casts as lvalues, fix those
- hack standard includes to avoid tons of strlen/malloc warnings (may
even fix bootstrap on other things than i386)
- remove non-standard assert.h that requires an eprintf in libgcc.
- bump pkgname, just in case...

verified to work with both gcc3 and gcc4.
2010-05-12 07:38:49 +00:00
espie
84cd314a57 auto-detect gcc4 in base 2010-05-11 07:34:47 +00:00
robert
c391b61a05 remove the gmake workaround 2010-05-10 20:17:31 +00:00
pirofti
1d5f525373 Use -f for ln(1). Okay espie@. 2010-05-07 20:04:23 +00:00
pirofti
ac3efd2751 Check for v0. Okay espie@. 2010-05-07 19:41:40 +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
jcs
f701c7fd45 add a patch to prevent seg faulting when loading compiled modules on
amd64

bump pkgname

ok bernd@
2010-05-03 17:01:33 +00:00
jsg
cbc0ee2d14 update to llvm-gcc 4.2-2.7
ok sthen@
2010-04-29 16:45:53 +00:00
robert
cfa8e4468c add some missing patches that cvs missed .. bad cvs 2010-04-28 17:06:26 +00:00
robert
5d24fb6f79 Update to mono 2.6.4;
(a lot of patches are in upstream now)
2010-04-27 12:39:49 +00:00
steven
c1e90ca01a use gnu libtool here for now 2010-04-26 20:09:18 +00:00
kili
3830131a60 Remove the native_bootstrap pseudo flavor. It's dangerous, because
the APIs of GHCs libraries depend on the version of the bootstrapping
compiler (and probably on the output of pom(6) and the amount of
active vulcanos in iceland).

See http://hackage.haskell.org/trac/ghc/ticket/4012#comment:3 for
details.

THIS ALSO MEANS THAT IF YOUR BUILD FAILS, YOU WILL HAVE TO MAKE
CLEAN AND START FROM SCRATCH! NEVER EVER TRY TO RESTART THE BUILD
OR THE LIBRARY ABIS WILL CHANGE! (Sorry for yelling)

Bump PKGNAME-main, since people may already have built ghc with
native_bootstrap.
2010-04-25 13:40:30 +00:00
ajacoutot
89acf94fe0 Update to vala-0.8.1. 2010-04-24 10:09:41 +00:00
kili
3b5f1799be + hs-haskell-src 2010-04-22 22:11:27 +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
robert
dbd0eb5db0 Correctly calculate GC_stackbottom on OpenBSD and set the threadstack size
to a high value just like other BSD -s.
2010-04-16 11:59:45 +00:00
tedu
2aed01b7c4 remove unfree unmaintained klone. ok ajacoutot laurent 2010-04-15 23:09:46 +00:00
jasper
7d16b66d27 - more BROKEN-$ARCH 2010-04-15 18:35:02 +00:00
ajacoutot
ce7c969358 Stupid poor blank lines, stupid poor blank lines... 2010-04-15 14:58:24 +00:00
ajacoutot
5985d2ef24 Consistency: remove the 1, 2 or even 3 empty blank lines.
sthen@ agrees
2010-04-15 14:11:01 +00:00
kili
77b7715ec2 Import hs-haskell-src, a library for manipulating Haskell source code.
Part of the Haskell Platform.

Not yet wired to the build.
2010-04-09 17:58:41 +00:00
jasper
e25b624267 - zap tendra 2010-04-09 12:41:34 +00:00
jasper
32832ba25e - remove old and dead compiler
prompted by tedu@ on ports@
joyful shouting by several

ok avsm@ (MAINTAINER)
2010-04-09 12:41:14 +00:00
robert
ec43dd560d Use KERN_BOOTTIME to get the uptime instead of making up a value
because we don't have /proc.
2010-04-08 16:40:04 +00:00
robert
0f11488b05 Disable shared handles because they are sometimes working, sometimes not. 2010-04-08 14:58:10 +00:00
ajacoutot
6ea207d134 Add MODMONO_{BUILD,RUN}_DEPENDS so other ports can use it.
ok robert@
2010-04-08 13:36:13 +00:00
robert
281e83e581 Fix kinfo_proc2 code and add support for more mono stuff using sysctl to
get process informations. Remove the mkbundle.cs patch and replace it
with one that uses configure.in so the libgc dependency ends up in the
pkg-config file. Move disabled features to configure.in from our Makefile
2010-04-08 12:12:33 +00:00
robert
a7db849eff the mono module handles some dependencies now, so remove the ones that
are not needed anymore and bump pkgname everywhere
2010-04-05 10:52:50 +00:00
robert
2ea6d63a22 Move lang/mono dependency to mono.port.mk 2010-04-05 10:39:35 +00:00
robert
ecb79bdd63 add ONLY_FOR_ARCHS here 2010-04-05 01:15:00 +00:00