pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44615: multimedia/libvdpau does not configure and build on sparc/solaris 9
The following reply was made to PR pkg/44615; it has been noted by GNATS.
From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/44615: multimedia/libvdpau does not configure and build on
sparc/solaris 9
Date: Sun, 20 Feb 2011 20:23:46 +0200
> multimedia/libvdpau does not configure and build on sparc/solaris 9 (2010Q4).
As far as I know nvidia provides its drivers neither for spark systems
nor for Solaris-9. So, it's safe to disable libvdpau on unsupported platforms.
Does the following patch solve the problem? libvdpau should be removed
from dependencies?
Index: available.mk
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/libvdpau/available.mk,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 available.mk
--- available.mk 1 Sep 2010 20:41:45 -0000 1.1.1.1
+++ available.mk 20 Feb 2011 18:21:03 -0000
@@ -6,8 +6,13 @@
# [Open]Solaris. The following condition is here to NOT list these
# platforms in multiple places, i.e. in mplayer, xine, xbmc etc.
# Have a look at buildlink3.mk too.
-VDPAU_AVAILABLE_ON= Linux FreeBSD SunOS
-.if !empty(VDPAU_AVAILABLE_ON:M${OPSYS})
+
+.if ${OPSYS} == "Linux" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} ==
"amd64")
+VDPAU_AVAILABLE= yes
+.elif ${OPSYS} == "FreeBSD" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH}
== "amd64")
+VDPAU_AVAILABLE= yes
+.elif ${OPSYS} == "SunOS" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} ==
"amd64") \
+ && !empty(OS_VERSION:M5.1[0-9]*)
VDPAU_AVAILABLE= yes
.else
VDPAU_AVAILABLE= no
--
Best regards, Aleksey Cheusov.
Home |
Main Index |
Thread Index |
Old Index