update Nightly

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@898 6ab5617d-af29-de11-a9e3-001676731981
- use posix_spawn on other BSDs, too
- unbreak android builds

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@899 6ab5617d-af29-de11-a9e3-001676731981
install headers/idl/sdk libs only if www/libxul or www/libxul19

  $ du -Ah */*.txz
   33M    before/firefox-nightly-17.0.100725,1.txz
   20M    after/firefox-nightly-17.0.100725,1.txz

Obtained from:	OpenBSD ports

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@900 6ab5617d-af29-de11-a9e3-001676731981
don't use trivial mozconfig

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@901 6ab5617d-af29-de11-a9e3-001676731981
mozconfig.linux: No such file or directory

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@902 6ab5617d-af29-de11-a9e3-001676731981
catchup with bug#714312

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@903 6ab5617d-af29-de11-a9e3-001676731981
- update nspr to 4.9.2
- switch back Nightly to system nspr

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@904 6ab5617d-af29-de11-a9e3-001676731981
- use SysV shared memory for plugins
- and sync with other minor changes from bug#753046

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@905 6ab5617d-af29-de11-a9e3-001676731981
warning: extra tokens at end of #ifdef directive

GCC/Clang ignore anything after the macro. This makes preprocessor
apply the workaround unconditionally.

Caused by:	beat@ incorrectly applied
		http://docs.freebsd.org/cgi/mid.cgi?86k48tbq92.fsf

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@906 6ab5617d-af29-de11-a9e3-001676731981
- simplify arch detection, no need to duplicate CPU_ARCH = $(OS_TEST)
- rename powerpc to ppc, that's what everyone else uses

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@907 6ab5617d-af29-de11-a9e3-001676731981
don't create empty nss directory after r900

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@908 6ab5617d-af29-de11-a9e3-001676731981
remove excessive dirrmtry after r900

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@909 6ab5617d-af29-de11-a9e3-001676731981
cleanup global flags

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@910 6ab5617d-af29-de11-a9e3-001676731981
consistently ignore soversion for dlopen'ed system libraries

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@911 6ab5617d-af29-de11-a9e3-001676731981
use symlink like www/firefox

git-svn-id: https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental@912 6ab5617d-af29-de11-a9e3-001676731981
[debug] make it easy to modify audio libs, e.g.

  $ make
  $ cd $(make -V WRKSRC)/media/libsydneyaudio/src
  $ touch sydney_audio_oss.c # edit here
  $ gmake
  $ ../../../dist/bin/firefox

or build manually after install

  $ cd /path/to/mozilla-central/media/libsydneyaudio/src
  $ cc -o libsydneyaudio.so sydney_audio_oss.c -shared -fPIC -I../include
  $ LD_PRELOAD=./libsydneyaudio.so firefox-nightly
provide sensible/compatible defaults for system codecs, but let user
override in make.conf/Makefile.local

Tested on: http://www.quirksmode.org/html5/tests/video.html
update Nightly
remove -lc workaround for alpha/ia64

FreeBSD alpha is no longer with us (since 7.0R). While support for ia64
needs to re-evaluated or require more recent toolchain from ports.
nuke blatantly out of date patches for bundled nss

Let's maintain only one place, security/nss port, where the patches
are in better shape and there is a hope to push some upstream.