Merge gccruntime patchset to 2012Q4.

Add USE_GCC_RUNTIME to print/ghostscript.

Add USE_GCC_RUNTIME to graphics/netpbm.

Add USE_GCC_RUNTIME to lang/perl5 with a caveat.

When using USE_PKGSRC_GCC_RUNTIME, you must also use an external
perl when building gcc, else perl-depends-on-gcc-depends-on-perl.

Add USE_GCC_RUNTIME to sysutils/coreutils.

Add USE_GCC_RUNTIME to databases/postgresql91.

Add USE_GCC_RUNTIME to lang/ruby18-base

Add USE_GCC_RUNTIME to lang/ruby193-base

Add USE_GCC_RUNTIME to devel/nspr.

Add USE_GCC_RUNTIME to multimedia/ffmpeg

Add USE_GCC_RUNTIME to devel/libuuid

Add USE_GCC_RUNTIME to textproc/py-cElementTree.

Add USE_GCC_RUNTIME to textproc/py-expat.

Add USE_GCC_RUNTIME to devel/py-readline.

Add USE_GCC_RUNTIME to databases/py-sqlite3.

Add USE_GCC_RUNTIME to databases/ruby-sqlite3.

Add USE_GCC_RUNTIME to lang/tcl.

Add USE_GCC_RUNTIME to databases/tokyocabinet.

Add USE_GCC_RUNTIME to databases/tokyotyrant.

Add USE_GCC_RUNTIME to multimedia/xvidcore.
Merge miscfix patchset to 2012Q4.

Provide a default config file, use standard PKG_SYSCONFDIR.

Change package file name if worker MPM is used.

Make building docs optional

Add an option to generate the misc tools too.

Fix the way how required libs are recorded based on the ldd output. Libraries provided by the same package that ldd wouldn't find under DESTDIR yet match a different library provided by e.g. the platform are no longer added to REQUIRES.

Add mbfl header files to package, add bl3 support for e.g. php-mailparse.

Add a hackish way to build php-oci8 against the Oracle Instant Client.

Fix builds with GCC 4.7.

Add compiled-in Passenger support

Make top build as 32bit on SunOS/i386

Skip some SunOS hacks as recent SunOS platforms do not need them

libfetch doesn't like build optimization

Improve default config file, include it in package

Make package work on Crossbow-style SunOS

Fix default config file location

Enable readelf shlib check on SmartOS

Pick up Joyent's Sun Java on SmartOS

Force use the structured proc system which builds with large file support

Update local patch for newer Boost.

Add support for PHP 5.4

We have different PLIST on SmartOS due to a different javadoc version

Do not try to build a 64bit module if MACHINE_PLATFORM=i386

Add support for Linux compatible lxproc on SmartOS.

Make sure large file support *64 functions are not exposed into PHP functions names

Mangle PKGNAME, not FILEBASE, so that pkgin lookup works properly

Do not restrict, the limitation is on re-selling of decoders

Apply our pbulk diffs.

 - Fix socket failures with limited builds.
 - Support per-build configuration file.
 - Support chroot builds.
 - Additional and alternative logging to avoid NFS issues.

Fix dependencies for USE_PKGSRC_GCC_RUNTIME.

We need to explicitly depend upon gcc47-libs only, to avoid gcc47 being
pulled in if available, when using USE_PKGSRC_GCC_RUNTIME as the RPATH
will depend upon the gcc47-libs layout.  Plus gcc47 is way too big! :)

Move docs patch lower to avoid bsd.prefs.mk conflict.

Add ALTERNATIVES file, lost earlier.

Fix merge botch in pkgtools/pbulk.
Add SMF support
Merge branch 'joyent/feature/miscfix/2012Q4' into joyent/release/2012Q4
Merge branch 'joyent/feature/smf/2012Q4' into joyent/release/2012Q4
Add 'joyent' and 'wip' submodules.
Merge branch 'pkgsrc_2012Q4' into joyent/feature/gccruntime/2012Q4
Merge branch 'pkgsrc_2012Q4' into joyent/feature/miscfix/2012Q4
Merge branch 'pkgsrc_2012Q4' into joyent/release/2012Q4
Add USE_GCC_RUNTIME to x11/tk
Add USE_GCC_RUNTIME to chat/ejabberd
Add USE_GCC_RUNTIME to multimedia/ffmpeg010

This should not be necessary, but due to the way this package is
laid out, compiler.mk is read before USE_LIBTOOL is set, so we need
to add USE_GCC_RUNTIME early.  It should be possible to re-organise
the Makefile to avoid this completely.
Merge branch 'pkgsrc_2012Q4' into joyent/feature/miscfix/2012Q4
Backport trunk OpenSSH HPN patch site fix.
Merge branch 'joyent/feature/miscfix/2012Q4' into joyent/release/2012Q4
Backport SIGPIPE fix for pbulk.
Explicitly pass -D_FILE_OFFSET_BITS=64.

The setup in fsops.c does not actually work due to the ordering of
includes parsing.
Merge branch 'pkgsrc_2012Q4' into joyent/feature/gccruntime/2012Q4
Merge branch 'pkgsrc_2012Q4' into joyent/feature/miscfix/2012Q4
Add USE_GCC_RUNTIME to databases/postgresql92