=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for mplayer/MPlayer-1.1.tar.gz
=> Checksum RMD160 OK for mplayer/MPlayer-1.1.tar.gz
===> Installing dependencies for mencoder-1.1nb2
==========================================================================
The supported build options for mencoder are:

	cdparanoia debug dts dv dvdnav dvdread faac
	faad gif jpeg lame mad mplayer-runtime-cpudetection
	mplayer-ssse3 oss png theora v4l2 vorbis x264
	xvid

The currently selected options are:

	cdparanoia dv dvdnav dvdread faad gif jpeg
	lame mad mplayer-runtime-cpudetection oss
	png theora v4l2 vorbis x264 xvid

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.mencoder (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
mencoder-1.1nb2.  Their current value is shown below:

        * GIFLIB_IMPLEMENTATION = giflib
        * JPEG_DEFAULT = jpeg

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency gmake>=3.81: found gmake-3.82nb7
=> Tool dependency checkperms>=1.1: found checkperms-1.11
=> Build dependency yasm-[0-9]*: found yasm-1.2.0
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.6
=> Build dependency xproto>=7.0.9: found xproto-7.0.24nb1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.8
=> Full dependency mplayer-share>=1.1: found mplayer-share-1.1nb7
=> Full dependency cdparanoia>=3.0.9.8nb5: found cdparanoia-3.0.10.2nb2
=> Full dependency libdv>=0.104nb2: found libdv-1.0.0nb1
=> Full dependency libdvdread>=4.1.3nb1: found libdvdread-4.2.0
=> Full dependency libdvdnav>=4.1.3: found libdvdnav-4.2.0
=> Full dependency faad2>=2.6.1: found faad2-2.7nb1
=> Full dependency giflib>=5.0.4: found giflib-5.0.4
=> Full dependency jpeg>=9: found jpeg-9
=> Full dependency lame>=3.96.1nb4: found lame-3.99.5
=> Full dependency libmad>=0.15.1bnb1: found libmad-0.15.1bnb1
=> Full dependency png>=1.6.0nb1: found png-1.6.2nb1
=> Full dependency libtheora>=1.0alpha3nb1: found libtheora-1.1.1nb2
=> Full dependency x264-devel>=20121107: found x264-devel-20130703
=> Full dependency xvidcore>=1.1.0nb1: found xvidcore-1.3.2
=> Full dependency fontconfig>=2.10.93nb2: found fontconfig-2.10.93nb2
=> Full dependency freetype2>=2.4.11: found freetype2-2.4.11
=> Full dependency libX11>=1.1: found libX11-1.6.0
===> Overriding tools for mencoder-1.1nb2
===> Extracting for mencoder-1.1nb2
===> Patching for mencoder-1.1nb2
=> Applying pkgsrc patches for mencoder-1.1nb2
=> Verifying /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.31 2013/01/12 11:55:35 jmcneill Exp $
|
|o Handle properly sh3 and evbarm ports on NetBSD.
|o Fix CPU family detection on NetBSD with /proc mounted with "-o linux"
|  (please see also kern/25076).
|o Fix a bug which broke the detection of a lot of X11 libraries.
|o Add necessary libs for aalib support even if the aa option is turned on with
|  --enable-aa.
|o Add support for dvb capture on NetBSD.
|
|--- configure.orig	2012-05-22 14:01:51.000000000 -0400
|+++ configure	2013-01-11 22:15:07.000000000 -0500
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 1519.
Hunk #2 succeeded at 1675.
Hunk #3 succeeded at 1799.
Hunk #4 succeeded at 2275.
Hunk #5 succeeded at 2597.
Hunk #6 succeeded at 4294.
Hunk #7 succeeded at 4679.
Hunk #8 succeeded at 4768.
Hunk #9 succeeded at 4776.
done
=> Verifying /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-ae
=> Applying pkgsrc patch /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.13 2012/06/11 21:55:34 wiz Exp $
|
|XXX: OS X support
|
|--- libvo/aclib.c.orig	2011-11-07 19:54:49.000000000 +0000
|+++ libvo/aclib.c
--------------------------
Patching file libvo/aclib.c using Plan A...
Hunk #1 succeeded at 29.
done
=> Verifying /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-an
=> Applying pkgsrc patch /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-an
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-an,v 1.4 2012/06/11 21:55:34 wiz Exp $
|
|http://bugzilla.mplayerhq.hu/show_bug.cgi?id=751
|
|Please also see: pkg/20549.
|
|--- stream/vcd_read_fbsd.h.orig	2011-05-07 21:32:50.000000000 +0000
|+++ stream/vcd_read_fbsd.h
--------------------------
Patching file stream/vcd_read_fbsd.h using Plan A...
Hunk #1 succeeded at 63.
Hunk #2 succeeded at 235.
Hunk #3 succeeded at 253.
done
=> Verifying /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-libao2_ao_sun.c
=> Applying pkgsrc patch /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-libao2_ao_sun.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libao2_ao_sun.c,v 1.2 2012/06/11 13:41:13 wiz Exp $
|
|If AUDIO_GETBUFINFO is available, use it whenever possible in preference
|to AUDIO_GETINFO. This should reduce playback CPU usage.
|
|--- libao2/ao_sun.c.orig	2011-07-24 23:55:39.000000000 +0000
|+++ libao2/ao_sun.c
--------------------------
Patching file libao2/ao_sun.c using Plan A...
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 166.
Hunk #3 succeeded at 187.
Hunk #4 succeeded at 649.
Hunk #5 succeeded at 685.
done
=> Verifying /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-stream_dvb_tune.c
=> Applying pkgsrc patch /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-stream_dvb_tune.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-stream_dvb_tune.c,v 1.2 2012/06/11 21:55:34 wiz Exp $
|
|Add support for dvb capture on NetBSD.
|
|--- stream/dvb_tune.c.orig	2010-03-02 19:57:17.000000000 +0000
|+++ stream/dvb_tune.c
--------------------------
Patching file stream/dvb_tune.c using Plan A...
Hunk #1 succeeded at 32.
done
=> Verifying /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-stream_dvbin.h
=> Applying pkgsrc patch /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-stream_dvbin.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-stream_dvbin.h,v 1.2 2012/06/11 21:55:34 wiz Exp $
|
|Add support for dvb capture on NetBSD.
|
|--- stream/dvbin.h.orig	2010-06-21 14:39:24.000000000 +0000
|+++ stream/dvbin.h
--------------------------
Patching file stream/dvbin.h using Plan A...
Hunk #1 succeeded at 16.
done
=> Verifying /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-sub_osd.c
=> Applying pkgsrc patch /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-sub_osd.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sub_osd.c,v 1.2 2012/06/11 21:55:34 wiz Exp $
|
|XXX: OS X support
|
|--- sub/osd.c.orig	2010-10-27 17:53:24.000000000 +0000
|+++ sub/osd.c
--------------------------
Patching file sub/osd.c using Plan A...
Hunk #1 succeeded at 29.
done
=> Verifying /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-sub_subreader.c
=> Applying pkgsrc patch /data/pkgsrc/multimedia/mencoder/../../multimedia/mplayer-share/patches/patch-sub_subreader.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sub_subreader.c,v 1.2 2012/06/11 21:55:34 wiz Exp $
|
|Call isspace(3) with unsigned char, instead of char, to handle
|non-ASCII characters properly.
|
|--- sub/subreader.c.orig	2012-05-21 19:17:55.000000000 +0000
|+++ sub/subreader.c
--------------------------
Patching file sub/subreader.c using Plan A...
Hunk #1 succeeded at 94.
Hunk #2 succeeded at 742.
Hunk #3 succeeded at 795.
Hunk #4 succeeded at 1830.
Hunk #5 succeeded at 1885.
done
===> Creating toolchain wrappers for mencoder-1.1nb2
===> Configuring for mencoder-1.1nb2
=> Checking for portability problems in extracted files
Checking for gcc version ... clang 4.2.1 (experimental support only)
Checking for working compiler ... yes
Detected operating system: NetBSD
Detected host architecture: x86_64
Checking for cross compilation ... no 
Checking for host cc ... gcc 
Checking for GCC & CPU optimization abilities ...  
Checking for byte order ... little-endian 
Checking for extern symbol prefix ...  
Checking for assembler support of -pipe option ... yes 
Checking for PIC ... no 
Checking for .align is a power of two ... no 
Checking for ebx availability ... yes 
Checking for yasm ... yasm 
Checking for bswap ... yes 
Checking for xmm clobbers ... yes 
Checking for langinfo ... yes 
Checking for language ... messages: en - man pages: en - documentation: en 
Checking for enable sighandler ... yes 
Checking for runtime cpudetection ... yes 
Checking for restrict keyword ... restrict 
Checking for __builtin_expect ... yes 
Checking for kstat ... no 
Checking for cbrtf ... yes 
Checking for exp2 ... yes 
Checking for exp2f ... yes 
Checking for llrint ... yes 
Checking for llrintf ... yes 
Checking for log2 ... yes 
Checking for log2f ... yes 
Checking for lrint ... yes 
Checking for lrintf ... yes 
Checking for round ... yes 
Checking for roundf ... yes 
Checking for trunc ... yes 
Checking for truncf ... yes 
Checking for mkstemp ... yes 
Checking for nanosleep ... yes 
Checking for socklib ... yes 
Checking for netdb.h, struct addrinfo ... yes 
Checking for netdb.h, getaddrinfo() ... yes 
Checking for sockaddr_storage ... yes 
Checking for struct ipv6_mreq ... yes 
Checking for struct sockaddr_in6 ... yes 
Checking for struct sockaddr sa_len ... yes 
Checking for arpa/inet.h ... yes 
Checking for inet_pton() ... yes 
Checking for inet_aton() ... yes 
Checking for socklen_t ... yes 
Checking for closesocket() ... no 
Checking for networking ... yes 
Checking for inet6 ... yes 
Checking for gethostbyname2 ... yes 
Checking for SCTP ... no 
Checking for sys/poll.h ... yes 
Checking for inttypes.h (required) ... yes 
Checking for int_fastXY_t in inttypes.h ... yes 
Checking for malloc.h ... yes 
Checking for memalign() ... no 
Checking for posix_memalign() ... yes 
Checking for alloca.h ... no 
Checking for fastmemcpy ... yes 
Checking for hard-coded tables ... no 
Checking for mman.h ... yes 
Checking for dynamic loader ... yes 
Checking for dynamic a/v plugins support ... no 
Checking for pthread ... yes (using -lpthread)
Checking for rpath ... no 
Checking for iconv ... yes 
Checking for soundcard.h ... yes (sys/soundcard.h)
Checking for sys/dvdio.h ... yes 
Checking for sys/cdio.h ... yes 
Checking for linux/cdrom.h ... no 
Checking for dvd.h ... no 
Checking for termcap ... yes (using -ltermcap)
Checking for termios ... yes (using termios.h)
Checking for shm ... yes 
Checking for strsep() ... yes 
Checking for vsscanf() ... yes 
Checking for POSIX select() ... yes 
Checking for audio select() ... yes 
Checking for gettimeofday() ... yes 
Checking for glob() ... yes 
Checking for setenv() ... yes 
Checking for setmode() ... no 
Checking for sys/sysinfo.h ... no 
Checking for pkg-config ... pkg-config: not found
no 
Checking for Samba support (libsmbclient) ... no 
Checking for /dev/mga_vid ... no 
Checking for tdfxfb ... no 
Checking for s3fb ... no 
Checking for wii ... no 
Checking for tdfxvid ... no 
Checking for xvr100 ... no 
Checking for tga ... yes 
Checking for md5sum support ... yes 
Checking for yuv4mpeg support ... yes 
Checking for bl ... no 
Checking for DirectFB ... no 
Checking for X11 headers presence ... yes 
Checking for X11 ... no (check if the dev(el) packages are installed)
Checking for Xss screensaver extensions ... no 
Checking for DPMS ... no 
Checking for Xv ... auto 
Checking for XvMC ... no 
Checking for VDPAU ... no 
Checking for Xinerama ... auto 
Checking for Xxf86vm ... auto 
Checking for XF86keysym ... auto 
Checking for DGA ... no 
Checking for xmga ... no 
Checking for 3dfx ... no 
Checking for VIDIX ... no 
Checking for GGI ... no 
Checking for GGI extension: libggiwmh ... no 
Checking for AA ... no 
Checking for CACA ... no 
Checking for SVGAlib ... no 
Checking for FBDev ... no 
Checking for DVB ... yes 
Checking for PNG support ... yes 
Checking for MNG support ... no 
Checking for JPEG support ... yes 
Checking for OpenJPEG (JPEG 2000) support ... no 
Checking for PNM support ... yes 
Checking for GIF support ... yes (old version, some encoding functions disabled)
Checking for broken giflib workaround ... disabled 
Checking for VESA support ... no 
Checking for SDL ... no 
Checking for OpenGL ... no 
Checking for MatrixView ... no 
Checking for DXR2 ... no 
Checking for DXR3/H+ ... no 
Checking for IVTV TV-Out (pre linux-2.6.24) ... no 
Checking for V4L2 MPEG Decoder ... no 
Checking for OSS Audio ... yes 
Checking for aRts ... no 
Checking for EsounD ... no 
Checking for NAS ... no 
Checking for pulse ... no 
Checking for JACK ... no 
Checking for OpenAL ... no 
Checking for ALSA audio ... auto 
Checking for Sun audio ... yes 
Checking for VCD support ... yes 
Checking for Blu-ray support ... no 
Checking for dvdread ... yes (external)
Checking for internal libdvdcss ... auto 
Checking for libcdio ... no 
Checking for cdparanoia ... yes 
Checking for bitmap font support ... yes 
Checking for freetype >= 2.0.9 ... yes 
Checking for fontconfig ... yes 
Checking for fribidi with charsets ... no 
Checking for SSA/ASS support ... yes 
Checking for ENCA ... no 
Checking for zlib ... yes 
Checking for bzlib ... yes 
Checking for RTC ... no 
Checking for liblzo2 support ... no 
Checking for mad support ... yes 
Checking for Twolame ... no 
Checking for Toolame ... no 
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no 
Checking for libgsm ... no 
Checking for OggTheora support ... yes 
Checking for mp3lib support ... yes 
Checking for mpg123 support ... no 
Checking for liba52 support ... no 
Checking for libmpeg2 support ... yes (internal)
Checking for libdca support ... no 
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no 
Checking for FAAC support ... no (in FFmpeg: no)
Checking for FAAD2 support ... yes 
Checking for LADSPA plugin support ... no 
Checking for libbs2b audio filter support ... no 
Checking for Win32 codecs ... no 
Checking for XAnim codecs ... yes (dynamic loader support needed)
Checking for RealPlayer codecs ... no 
Checking for QuickTime codecs ... auto 
Checking for Nemesi Streaming Media libraries ... no 
Checking for LIVE555 Streaming Media libraries ... no 
Checking for RTMPDump Streaming Media library ... no 
Checking for FFmpeg ... yes 
Checking for libpostproc ... yes 
Checking for libopencore_amr narrowband ... no 
Checking for libopencore_amr wideband ... no 
Checking for libdv-0.9.5+ ... yes 
Checking for CrystalHD ... no 
Checking for Xvid ... yes 
Checking for Xvid two pass plugin ... yes 
Checking for x264 ... yes (in FFmpeg: yes)
Checking for libdirac ... no 
Checking for libschroedinger ... no 
Checking for libvpx ... no 
Checking for libnut ... no 
Checking for zr ... no 
Checking for libmp3lame ... yes (in FFmpeg: auto)
Checking for mencoder ... yes 
Checking for UnRAR executable ... yes 
Checking for TV interface ... yes 
Checking for *BSD BT848 bt8xx header ... yes (using dev/ic/bt8xx.h)
Checking for *BSD ioctl_meteor.h ... no 
Checking for *BSD BrookTree 848 TV interface ... yes 
Checking for DirectShow TV interface ... auto 
Checking for Video 4 Linux TV interface ... auto 
Checking for Video 4 Linux 2 TV interface ... yes 
Checking for Radio interface ... no 
Checking for Capture for Radio interface ... no 
Checking for Video 4 Linux 2 Radio interface ... auto 
Checking for Video 4 Linux Radio interface ... auto 
Checking for Video 4 Linux 2 MPEG PVR interface ... auto 
Checking for ftp ... yes 
Checking for vstream client ... no 
Checking for OSD menu ... no 
Checking for Subtitles sorting ... yes 
Checking for XMMS inputplugin support ... no 
Checking for GUI ... no
Checking for automatic gdb attach ... no 
Checking for compiler support for noexecstack ... yes 
Checking for linker support for --nxcompat --no-seh --dynamicbase ... no 
Checking for joystick ... no 
Checking for lirc ... no 
Checking for lircc ... no 
Checking for DVD support (libdvdnav) ... yes 
Checking for XML catalogs ... No SGML catalog found. 
Checking for XML chunked stylesheet ... not found, using default 
Checking for XML monolithic stylesheet ... not found, using default 
Checking for XML DTD ... not found, using default 
Checking for valid XSLT processor ... xsltproc: not found
xsltproc not found 
Creating config.mak
Creating config.h

Config files successfully generated by ./configure --prefix=/usr/pkg --disable-aa --disable-arts --disable-caca --enable-cdparanoia --disable-libdca --enable-libdv --disable-dvdread-internal --enable-dvdread --with-dvdread-config=/usr/pkg/bin/dvdread-config --enable-dvdnav --with-dvdnav-config=/usr/pkg/bin/dvdnav-config --disable-esd --disable-faac --enable-faad --disable-ggi --enable-gif --enable-jpeg --enable-mp3lame --enable-mad --disable-mlib --disable-menu --disable-real --enable-runtime-cpudetection --disable-win32dll --disable-nas --enable-ossaudio --enable-png --disable-pulse --disable-sdl --enable-theora --disable-vidix --enable-libvorbis --enable-x264 --enable-xvid --disable-ssse3 --disable-vdpau --disable-lirc --extra-libs=-lx264 -lxvidcore --confdir=/usr/pkg/share/mplayer !

  Install prefix: /usr/pkg
  Data directory: /usr/pkg/share/mplayer
  Config direct.: /usr/pkg/share/mplayer

  Byte order: little-endian
  Optimizing for: Runtime CPU-Detection enabled

  Languages:
    Messages/GUI: en
    Manual pages: en
    Documentation: en

  Enabled optional drivers:
    Input: dvdnav ftp tv-v4l2 tv-bsdbt848 tv cddb cdda dvdread(external) vcd dvb networking 
    Codecs: x264 xvid libdv ffmpeg(internal) xanim faad2 libmpeg2(internal) mp3lib(internal) libtheora tremor(internal) libmad gif 
    Audio output: sun oss mpegpes(file) 
    Video output: gif89a pnm jpeg mpegpes(file) yuv4mpeg md5sum tga 

  Disabled optional drivers:
    Input: vstream pvr radio tv-v4l1 tv-dshow librtmp live555 nemesi libdvdcss(internal) bluray smb 
    Codecs: libvpx libschroedinger libdirac crystalhd libopencore_amrwb libopencore_amrnb qtx real win32 faac musepack libdca liba52 mpg123 libgsm speex toolame twolame liblzo OpenJPEG 
    Audio output: alsa openal jack pulse nas esd arts v4l2 ivtv dxr2 sdl 
    Video output: zr zr2 v4l2 ivtv dxr3 dxr2 matrixview opengl sdl vesa mng fbdev svga caca aa ggi xvidix winvidix cvidix 3dfx xmga dga vdpau xvmc xv x11 directfb dfbmga bl xvr100 tdfx_vid wii s3fb tdfxfb mga 

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Please check MTRR settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)

NOTE: Win32 codec DLLs are not supported on your CPU (x86_64) or your
operating system (NetBSD). You may encounter a few files that cannot
be played due to missing open source video/audio codec support.

Check config.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).

NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-menu and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.


MPlayer compilation will use the CPPFLAGS/CFLAGS/LDFLAGS/YASMFLAGS set by you,
but:

    *** ***  DO NOT REPORT BUGS IF IT DOES NOT COMPILE/WORK!  *** ***

It is strongly recommended to let MPlayer choose the correct *FLAGS!
To do so, remove *FLAGS from the environment an re-run configure.
You can use --extra-*flags to add custom flags if necessary.

