Subject: Little dependency bug in mplayer-share
To: None <tech-pkg@NetBSD.org>
From: Thomas E. Zander <riggs@rrr.de>
List: tech-pkg
Date: 10/11/2005 20:54:20
--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline

Hi,

I noticed a little problem concerning libvorbis linking in mplayer.
Recent versions of mplayer bring their own tremor-based vorbis codec,
so the current version of mplayer-share registers a dependency to the
libvorbis package but mplayer wouldn't use it.

Attached patch addresses this by explicitly calling configure to use
external libvorbis.

Riggs

-- 
- "[...] I talked to the computer at great length and
-- explained my view of the Universe to it" said Marvin.
--- And what happened?" pressed Ford.
---- "It committed suicide." said Marvin.

--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: attachment; filename="mplayer.diff"

diff -ruN /usr/pkgsrc/multimedia/mplayer-share/options.mk mplayer-share/options.mk
--- /usr/pkgsrc/multimedia/mplayer-share/options.mk	2005-10-11 09:09:20.000000000 +0200
+++ mplayer-share/options.mk	2005-10-11 20:04:45.000000000 +0200
@@ -210,6 +210,7 @@
 
 .if !empty(PKG_OPTIONS:Mvorbis)
 CONFIGURE_ARGS+=	--enable-vorbis
+CONFIGURE_ARGS+=	--disable-internal-tremor
 .  include "../../audio/libvorbis/buildlink3.mk"
 .else
 CONFIGURE_ARGS+=	--disable-vorbis

--EVF5PPMfhYS0aIcm--