Subject: pkg/15319: graphics/mplayer can support misc/libdvdread, but package doesn't
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dave@dtsp.co.nz>
List: netbsd-bugs
Date: 01/21/2002 01:35:11
>Number:         15319
>Category:       pkg
>Synopsis:       graphics/mplayer can support misc/libdvdread, but package doesn't
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 20 17:24:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     David Sainty
>Release:        NetBSD 1.5X
>Organization:
Dynamic Technology Services and Products Ltd (NZ)
>Environment:
System: NetBSD tequila.dave.dtsp.co.nz 1.5X NetBSD 1.5X (TEQUILA) #0: Sat Dec 1 17:24:03 NZDT 2001 dave@tequila.dave.dtsp.co.nz:/vol/tequila/userD/NetBSD-tequila/src/sys/arch/i386/compile/TEQUILA i386
Architecture: i386
Machine: i386
>Description:
	graphics/mplayer can support misc/libdvdread, but package doesn't link
	it with that package.
>How-To-Repeat:
	Build graphics/mplayer, find it doesn't use
	misc/libdvdread/buildlink.mk
>Fix:
	Create misc/libdvdread/buildlink.mk from earlier PR submitted, and
	apply:
--- graphics/mplayer/Makefile.orig	Mon Jan 21 00:41:47 2002
+++ graphics/mplayer/Makefile	Mon Jan 21 01:14:12 2002
@@ -2,7 +2,7 @@
 
 DISTNAME=	MPlayer-0.60pre1
 PKGNAME=	mplayer-0.60.0.1
-PKGREVISION=	1
+PKGREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	http://mp.dev.hu/MPlayer/releases/
 EXTRACT_SUFX=	.tar.bz2
@@ -31,7 +31,7 @@
 CONFIGURE_ARGS+=	--with-extraincdir="${BUILDLINK_DIR}/include"
 CONFIGURE_ARGS+=	--with-extralibdir="${LOCALBASE}/lib"
 CONFIGURE_ARGS+=	--with-win32libdir="${LOCALBASE}/lib/win32"
-CONFIGURE_ARGS+=	--disable-css
+CONFIGURE_ARGS+=	--enable-dvdread
 
 post-configure:
 	${CP} ${FILESDIR}/vcd_read_nbsd.c ${WRKSRC}/libmpdemux/vcd_read_nbsd.h
@@ -47,5 +47,6 @@
 .include "../../devel/SDL/buildlink.mk"
 .include "../../graphics/aalib/buildlink.mk"
 .include "../../graphics/png/buildlink.mk"
+.include "../../misc/libdvdread/buildlink.mk"
 .include "../../mk/ossaudio.buildlink.mk"
 .include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: