Subject: pkg/33442: MPlayer package does not honour build options
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ppedaal@mail.ee>
List: pkgsrc-bugs
Date: 05/08/2006 12:40:01
>Number:         33442
>Category:       pkg
>Synopsis:       MPlayer package does not honour build options
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 08 12:40:01 +0000 2006
>Originator:     Mihkel Ader
>Release:        3.0
>Organization:
>Environment:
NetBSD haggis.valper 3.0 NetBSD 3.0 (HAGGIS) #: Fri Apr 28 08:33:02 EEST 2006  root@haggis.valper:/usr/src/sys/arch/i386/compile/HAGGIS i386
>Description:
MPlayer does not honour build options specified in mk.conf:

[root@haggis /usr/pkgsrc/multimedia/mplayer]# make
===> do-fetch [mplayer-1.0rc7nb10] ===> Checking for vulnerabilities in mplayer-1.0rc7nb10
=> MPlayer-1.0pre7try2.tar.bz2 doesn't seem to exist on this system.
=> Attempting to fetch MPlayer-1.0pre7try2.tar.bz2 from http://www1.mplayerhq.hu/MPlayer/releases/.
Requesting http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre7try2.tar.bz2
100% |*****************************************************************************|  6707 KB  110.24 KB/s    00:00 ETA
6868786 bytes retrieved in 01:00 (110.23 KB/s)
=> Checksum SHA1 OK for mplayer-1.0rc7/MPlayer-1.0pre7try2.tar.bz2.
=> Checksum RMD160 OK for mplayer-1.0rc7/MPlayer-1.0pre7try2.tar.bz2.
===> extract-message [mplayer-1.0rc7nb10] ===> Extracting for mplayer-1.0rc7nb10
==========================================================================
The supported build options for this package are:

        aalib arts cdparanoia dts dv dvdread esound
        faad ggi gif jpeg mad mplayer-internal-faad
        mplayer-menu mplayer-real mplayer-runtime-cpudetection
        mplayer-win32 nas oss png sdl theora vorbis
        xvid

The currently selected options are:

        aalib arts cdparanoia dv dvdread esound faad
        gif jpeg mad mplayer-menu mplayer-real mplayer-runtime-cpudetection
        mplayer-win32 nas oss png sdl theora vorbis
        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.mplayer = gif jpeg mplayer-menu mplayer-real mplayer-win32 png xvid theora vorbis sdl

==========================================================================

>How-To-Repeat:
Define PKG_OPTIONS.mplayer, run "make" in /usr/pkgsrc/multimedia/mplayer
>Fix:
Edit options.mk in mplayer-share