Subject: pkg/17260: mplayer works on Solaris too, so mark it as such (depends on pkg/17259)
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 06/15/2002 01:42:26
>Number:         17260
>Category:       pkg
>Synopsis:       mplayer works on Solaris too, so mark it as such (depends on pkg/17259)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 14 16:43:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        SunOS 5.9
>Organization:
>Environment:
System: SunOS vertigo 5.9 Generic sun4m sparc SUNW,SPARCstation-10
Architecture: sparc
Machine: SUNW,SPARCstation-10
>Description:

mark graphics/mplayer-share working on Solaris.  this fix depends on applying
pkg/17259 too.

>How-To-Repeat:
>Fix:

Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/mplayer-share/Makefile.common,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile.common
--- Makefile.common	2002/06/08 23:41:56	1.3
+++ Makefile.common	2002/06/14 23:26:48
@@ -20,7 +20,7 @@
 HOMEPAGE?=		http://www.mplayerhq.hu/
 
 PATCHDIR=		${.CURDIR}/../../graphics/mplayer-share/patches
-ONLY_FOR_PLATFORM=	NetBSD-*-i386 NetBSD-*-powerpc
+ONLY_FOR_PLATFORM=	NetBSD-*-i386 NetBSD-*-powerpc SunOS-*-*
 
 RESTRICTED?=		"unsure of the license"
 #	see http://www.mplayerhq.hu/DOCS/users_against_developers.html#binary
Index: Makefile.depends
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/mplayer-share/Makefile.depends,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile.depends
--- Makefile.depends	2002/06/08 23:41:56	1.1
+++ Makefile.depends	2002/06/14 23:26:48
@@ -2,8 +2,11 @@
 
 DEPENDS+=	mplayer-share-${MPLAYER_PKG_VERSION}${PKGREVISION:Dnb${PKGREVISION}}:../../graphics/mplayer-share
 
-.include "../../audio/mad/buildlink.mk"
+.if (${OPSYS} == "NetBSD")
 .include "../../devel/binutils/buildlink.mk"
+.endif
+
+.include "../../audio/mad/buildlink.mk"
 .include "../../devel/SDL/buildlink.mk"
 .include "../../graphics/jpeg/buildlink.mk"
 .include "../../graphics/libungif/buildlink.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: