Commit Graph

1995 Commits

Author SHA1 Message Date
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
robert
702fa474ed Enable shared handles and add USE_NANT to mono.port.mk to use NAnt
to build stuff
2010-04-05 01:02:57 +00:00
robert
d88020626b It seems my previous commit did not include the actual regression test
fixes. do them now
2010-04-02 16:11:13 +00:00
robert
40cfd19ee0 - use pthread_stackseg_np to get the stack boundaries on OpenBSD
- remove some scripts that we don't use from BASH_SCRIPTS
- ignore one of the regression tests and continue if it fails
2010-04-01 21:53:51 +00:00
robert
a4b87abd44 update to 2.6.2 and make regression tests work 2010-03-29 14:27:43 +00:00
robert
38713339c6 resurrect powerpc support 2010-03-29 10:32:06 +00:00
robert
f390996a68 mkdbundle has to link to libgc. 2010-03-28 15:25:15 +00:00
robert
be3e2f5ed5 Use autoconf 2.63 and remove the SIZEOF_VOID_P definition from the CFLAGS
because new m4 in base fixes the SIZEOV_VOID_P -> SIZEOF_VOID__ stupidity,
so make sure you have up-to-date m4 before building the port.
2010-03-27 12:37:15 +00:00
robert
f99e840e0c Remove the handles.c patch because that's not needed anymore because
Zoltan Varga from the mono team helped me to debug the problem we
were having. So the correct problem description is that on OpenBSD,
ctx can be NULL if we are interrupting poll().
The upstream diff also fixes the issue where we are interrupting
unmanaged code.
2010-03-27 12:06:26 +00:00
robert
d68bbb33d2 retry 5 times then skip 2010-03-26 17:53:26 +00:00
robert
87c1dfbfef Sometimes we have the mutex is still in use by some other thread so
let's wait until it gets unlocked, this makes the random build errors
go away.. again.
2010-03-26 17:01:02 +00:00
robert
35962ca14a Remove the previous diff to mini.h because that was totally wrong, i made
it up before having my morning coffee.
So it turns out that sometimes the context on openbsd can be 0. This will
lead to problems. I suspect that this is because of our fantastic pthread
library. With the following diff we just skip doing some JIT stuff if the
context is 0 because the thread probably exited before.
Anyways this way everything *seems* to work fine and almost all regression
tests are passing now except for 2 out of 380.
Pepole understanding pthreads are welcome to look at it and come up with
something that is not a tripe XXX hack.
2010-03-26 13:13:47 +00:00
robert
fdc60f1997 take maintainership 2010-03-26 10:41:55 +00:00
robert
e7939895f2 Use the correct GET_CONTEXT macro otherwise we will get a 0 context
and that will freak everything out and crash.
Define EOVERFLOW based on our headers and remove the Makefile hack
that we don't need anymore.
2010-03-26 10:40:44 +00:00
robert
986fdfc5ca Forgot to re-enable some commented code, let's do it now. 2010-03-24 17:57:50 +00:00
robert
7bfc006443 Add an ugly hack to this makefile to force the build until we figure out what's
really wrong.
2010-03-23 10:21:32 +00:00
robert
b6c3802c67 Enable sigaction support on amd64 too, by using struct sigcontext. 2010-03-23 08:25:26 +00:00
robert
fb63ae27cb Enable MONO_ARCH_USE_SIGACTION on i386 and switch it to use struct sigcontext,
which basically gives us exception support and sends those crashes away.
2010-03-22 16:56:13 +00:00
robert
9ef2d3f142 Ooops, remove gcc4 dependency. 2010-03-22 09:49:59 +00:00
robert
b468980e78 This part of the diff is not needed anymore. 2010-03-22 09:48:15 +00:00
robert
a8360f7714 Use the upstream diff that was commited today their repository, because
this is how it's done correctly.
2010-03-21 17:35:05 +00:00
robert
7b61de05b2 Include sys/param.h that was previously missed by me 2010-03-21 13:43:10 +00:00
ajacoutot
3244da9b1f Update to vala-0.7.10. 2010-03-21 09:42:37 +00:00
robert
d3f436429f - update to the latest stable version: 2.6.3
- move to autoconf
- regen patches

ok ajacoutot@, jasper@
2010-03-20 17:16:44 +00:00
phessler
2702a8279d python2.5 needs a patch to libffi/configure in order to detect what
platform loongson is.  Unbreak for mips64el.

OK jasper@
(reminder, ports is not fully open, do not commit without specific permission)
2010-02-28 15:27:37 +00:00
espie
98fa4282c5 tidy 2010-02-28 08:50:42 +00:00
espie
d6818103c8 the egg framework is fucked up (modifies stuff in WRKBUILD during install),
so work around by tricking it to write into WRKINST through a symlink.

keep this here, so that affected ports need minimal modifications, and we
can work out a better fix long term.

Agreed with wcmaier...
2010-02-27 17:52:18 +00:00
phessler
cd7d60e242 Allow Python to build on loongson. Bring in some libffi fixes, inspired
by jasper@'s fixes to the libffi port.

Mark mips64 (aka, sgi) as BROKEN, as the build fails.  We'll look closer
at this after unlock.

OK jasper@

ports is unlocked for a while only for those who have been informed.
2010-02-25 11:02:39 +00:00
naddy
74034d3a79 sync Ada bootstrap; with and ok espie@ 2010-02-14 20:13:18 +00:00
jasper
228964a8d2 - extend archtecture tests for mips64el
ok naddy@ phessler@
2010-02-09 12:23:59 +00:00
jasper
fcaeef2071 - extend archtecture tests for mips64el
ok naddy@
2010-02-09 12:18:45 +00:00
pirofti
8d6ee23970 Let there be tcl on landisk. Okay espie@.
Use -O0 instead of -O2, otherwise compilation fails right from the
start. No package, no bump.
2010-02-06 10:27:21 +00:00
jasper
a9939f46dd face reality, it's i386 only and the build is badly broken on anything else
agreed by sthen@ and bernd@
2010-02-03 12:59:24 +00:00
espie
100f0c7870 SUBDIR += is wrong: it means the makefile will pick up SUBDIR from env, thus
breaking cd /usr/ports && SUBDIR=some/path make something for
category makefiles. While there, also put spaces around += uniformously.
okay naddy@, jasper@
2010-02-01 17:00:12 +00:00
jolan
ca7dbb81a7 fix MASTER_SITES, ok naddy@ 2010-01-30 19:08:30 +00:00
naddy
72b44c5513 bump PKGNAME for PLIST changes 4.6 -> 4.7 2010-01-27 21:43:27 +00:00
espie
4fb9f48443 fix update from OpenBSD 4.5 (missed @pkgpath markers at the time
-bz2, -expat, -sqlite were removed)
2010-01-20 08:15:21 +00:00
jasper
1ba29b9f05 - unbreak after KERN_PROC2 changes
reads ok to sthen@
2010-01-19 15:07:01 +00:00
ajacoutot
914cfdf0c4 Update to librep-0.90.5. 2010-01-09 19:38:18 +00:00
edd
85631eff8f update to clisp-2.48. patch for texlive follows.
OK kili@
2010-01-07 10:55:28 +00:00
jasper
49b2c85ee6 - update gprolog to 1.3.1
- unbreak it
- enable it on amd64

from daniel dickman and nuno morgadinho (MAINTAINER)

with a tweak by me to honor cflags.
2009-12-27 19:30:21 +00:00
ajacoutot
206b0e22c9 Upstream rerolled tarball.
spotted by naddy, thank you.
2009-12-22 13:43:00 +00:00
ajacoutot
d4abf588a1 Update to librep-0.90.4.
ok jasper@
2009-12-22 11:05:47 +00:00
landry
21bb46b201 Add an #XXX mentioning that libc.so.53.0 is needed to build gcc4 on
i386, as it's required by ada bootstrap. Should save some head
scratching to ppl not using packages, as advised.
2009-12-20 10:40:05 +00:00
espie
7a3c5d1d9e regen'd bootstrap 2009-12-20 10:15:36 +00:00
ajacoutot
756c5fa911 Update to vala-0.7.9. 2009-12-19 15:45:44 +00:00
ajacoutot
f2e8499f8a Bump after recent mono MODULE tweak. 2009-12-17 14:00:34 +00:00
ajacoutot
1f1b4c09e3 Better regex. 2009-12-17 13:59:42 +00:00
jasper
2b0d94ab8b - fix build on mips64 2009-11-22 22:58:30 +00:00
jasper
a7f58dc602 - minor tweaks for mips64, none of the versions fully build, but at least
they're somewhat getting there.
- with the added patch, 2.5 gets as far as 2.6, and then fails terribly.

ok djm@ (MAINTAINER)
2009-11-22 22:53:19 +00:00
sthen
b7b4afe7e6 Update to 8.5.8, from maintainer Stuart Cassoff. 2009-11-21 02:50:23 +00:00
naddy
c0fdcb104f fix dependency on gcc subpackage 2009-11-20 21:08:19 +00:00
naddy
4519638c2c bump c++ package after dependency change 2009-11-20 17:41:16 +00:00
kili
49842f2779 @comment man/man1/mkpasswd.1 again. It had been re-added by accident
a long time ago.
2009-11-19 22:36:56 +00:00
sthen
9d0f70b46f - fix dependencies following libstdc++ bump from 4.2.4p3 to 4.2.4v0
- bump relevant PKGNAMEs
2009-11-18 00:49:09 +00:00
pirofti
b49caa5621 Update SBCL to version 1.0.31 from MAINTAINER (Josh Elsasser).
Highlights:
	- amd64 support
	- bootstraping works with clisp
2009-11-17 10:44:59 +00:00
kurt
48dd291538 Fix use of uninitalized memory. Found by malloc option J. okay naddy@ 2009-11-17 01:04:43 +00:00
ajacoutot
357c76a012 Update to vala-0.7.8. 2009-11-14 11:39:57 +00:00
jasper
88f7d709da - update librep to 0.90.3 2009-11-12 22:17:53 +00:00