reorder to avoid unwanted substitute.
Don't fail build with old MesaLib.  Fixes PR pkg/48398.
Search the SDK path on OSX, otherwise for Xcode 5 certain modules will not
be built, due to the headers not being installed in /usr/include by default.
Update lang/nodejs to version 0.10.23.  Changes since 0.10.20:

2013.12.12, Version 0.10.23 (Stable)
* uv: Upgrade to v0.10.20 (Timothy J Fontaine)
* npm: Upgrade to 1.3.17 (isaacs)
* gyp: update to 78b26f7 (Timothy J Fontaine)
* build: include postmortem symbols on linux (Timothy J Fontaine)
* crypto: Make Decipher._flush() emit errors. (Kai Groner)
* dgram: fix abort when getting `fd` of closed dgram (Fedor Indutny)
* events: do not accept NaN in setMaxListeners (Fedor Indutny)
* events: avoid calling `once` functions twice (Tim Wood)
* events: fix TypeError in removeAllListeners (Jeremy Martin)
* fs: report correct path when EEXIST (Fedor Indutny)
* process: enforce allowed signals for kill (Sam Roberts)
* tls: emit 'end' on .receivedShutdown (Fedor Indutny)
* tls: fix potential data corruption (Fedor Indutny)
* tls: handle `ssl.start()` errors appropriately (Fedor Indutny)
* tls: reset NPN callbacks after SNI (Fedor Indutny)

2013.11.12, Version 0.10.22 (Stable), cbff8f091c22fb1df6b238c7a1b9145db950fa65
* npm: Upgrade to 1.3.14
* uv: Upgrade to v0.10.19
* child_process: don't assert on stale file descriptor events (Fedor Indutny)
* darwin: Fix "Not Responding" in Mavericks activity monitor (Fedor Indutny)
* debugger: Fix bug in sb() with unnamed script (Maxim Bogushevich)
* repl: do not insert duplicates into completions (Maciej Małecki)
* src: Fix memory leak on closed handles (Timothy J Fontaine)
* tls: prevent stalls by using read(0) (Fedor Indutny)
* v8: use correct timezone information on Solaris (Maciej Małecki)

2013.10.18, Version 0.10.21 (Stable), e2da042844a830fafb8031f6c477eb4f96195210
* uv: Upgrade to v0.10.18
* crypto: clear errors from verify failure (Timothy J Fontaine)
* dtrace: interpret two byte strings (Dave Pacheco)
* fs: fix fs.truncate() file content zeroing bug (Ben Noordhuis)
* http: provide backpressure for pipeline flood (isaacs)
* tls: fix premature connection termination (Ben Noordhuis)
Updated lang/nodejs to 0.10.23
Fix copy/paste error.
When recursively chowning, ensure the -P flag is specified.  This is default
on BSD but not on strict POSIX implementations, leading to failures when
building as an unprivileged user in the presence of symlinks.

Fixes recent breakage on SunOS when the '-h' flag was removed for MirBSD.
Package needs lang/python/tool.mk for calls to 'python' in configure.
Import ghc-7.6.3 as lang/ghc7.
Based on wip/ghc, mostly worked by phonohawk, with patches from jperkin@.
And some modifications and buit of Bootstrap binaries for 7.6.3 by me.

GHC: 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.
Added lang/ghc7 version 7.6.3
+ ghc7
Don't include devel/libinotify on SunOS.  Makes package build.
x11-links should only be used with X11_TYPE == native.
2.9.0           2013/12/09
        NOTE: During the development cycle for this release, SourceForge
                changed their bug numbering system.  Bug numbers are recorded
                here as they were generated by the current system at the time
                they were filed.  The older ones (prefixed "SF") have since
                been renumbered or may no longer be in the system.
        Feature request #169: Discontinue libxml2 support in the reputation
                code.
        Feature request #174: Drop internal libstrl implementation.
        Feature request #175: Discontinue support for libdkimrep.
        Feature request #176: Update to the final REPUTE RFCs.
        Activate _FFR_REDIRECT.
        Fix bug #178: Add support for "dmarc" as an authentication method
                (though it hasn't been formally registered yet) and fix
                a minor Authentication-Results parsing problem.
        Fix bug #179: Correct handling of SignatureTTL.
        Fix bug #180: Drain results object when doing a DB walk of a postgresql
                table.
        Fix bug #182: Add an Authentication-Results header field even for
                messages with no valid From: field or a fatal structural
                violation.
        Teach dkimf_db_walk() about LDAP soft starting, and don't escape the
                forced "*" when walking.  Also handle incorrect attribute
                counts without causing an assertion failure.
        Call dkimf_config_free() on shutdown so that all DBs get properly
                closed and everything gets deallocated.
        LIBOPENDKIM: Fix bug #168: Report an unresolved CNAME for ADSP records
                as simply absent.
        LIBOPENDKIM: Add DKIM_LIBFLAGS_REQUESTREPORTS to request that an
                "r=y" tag be added to signatures, per RFC6651.
        TOOLS: Fix boundary condition in opendkim-testmsg.
        DOCS: Feature request #168: Improve documentation of signature
                verification failure debugging features.
        DOCS: Feature request #172: Describe socket selection procedure in
                detail, and mention selinux command to get set up.
Updated mail/opendkim to 2.9.0
Fix for the integer overflow possibility reported in
http://secunia.com/advisories/53558 / CVE 2013-1993
taken from upstream:
http://lists.freedesktop.org/archives/mesa-dev/2013-May/039720.html
http://lists.freedesktop.org/archives/mesa-dev/2013-May/039722.html
but with s/calloc/(char *) Xcalloc/