pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/34592: (k/g)mplayer doesn't build with default options for x86-64



>Number:         34592
>Category:       pkg
>Synopsis:       (k/g)mplayer doesn't build with default options for x86-64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 23 14:05:00 +0000 2006
>Originator:     martijnb%atlas.ipv6.stack.nl@localhost
>Release:        NetBSD 4.99.1
>Organization:
        
>Environment:
        
        
System: NetBSD atlas.ipv6.stack.nl 4.99.1 NetBSD 4.99.1 (ATLAS) #3: Thu Sep 14 
13:18:59 CEST 2006 
martijnb%atlas.ipv6.stack.nl@localhost:/usr/obj/sys/arch/amd64/compile/ATLAS 
amd64
Architecture: x86_64
Machine: amd64
>Description:
   multimedia/mplayer-share/options.mk (Which is used by all the other mplayer
   targets) defines an 'mplayer-win32' option for i386 an x86-64 targets, 
   which pulls in an additional dependency on multimedia/win32-codecs.


# Platform-specific options.
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
PKG_SUPPORTED_OPTIONS+= mplayer-runtime-cpudetection mplayer-win32 \
                        xvid
.endif

  This later gets promoted to a default option. However, the multimedia/win32
  package claims to be only available for i386 platforms, thus causing a 
  build with default options to fail.

>How-To-Repeat:
  Try to build any of the mplayer packages on an amd64 machine.
>Fix:
  Either fix the win32-codecs package to allow it to be used on x86-64 targets,
  or drop the default option on these targets. As a workaround, adding
  -mplayer-win32 to the appropriate PKG_OPTIONS.* variable in mk.conf works
  around the problem.

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index