From aaffc58d95b129aae52fca633cdddf89dda808b1 Mon Sep 17 00:00:00 2001 From: maya Date: Sun, 22 Jan 2017 10:58:47 +0000 Subject: libvdpau: don't restrict this package to specific operating systems. there's no reason to - other operating systems have suitable drivers too, and it doesn't break builds as far as I can tell. PR pkg/51704, applying as maintainer did not respond. --- multimedia/libvdpau/available.mk | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/multimedia/libvdpau/available.mk b/multimedia/libvdpau/available.mk index de23adaad69..2c1d79ec83d 100644 --- a/multimedia/libvdpau/available.mk +++ b/multimedia/libvdpau/available.mk @@ -1,4 +1,4 @@ -# $NetBSD: available.mk,v 1.3 2012/12/02 11:03:51 cheusov Exp $ +# $NetBSD: available.mk,v 1.4 2017/01/22 10:58:47 maya Exp $ .include "../../mk/bsd.prefs.mk" @@ -7,13 +7,18 @@ # platforms in multiple places, i.e. in mplayer, xine, xbmc etc. # Have a look at buildlink3.mk too. -.if ${OPSYS} == "Linux" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") -VDPAU_AVAILABLE= yes -.elif ${OPSYS} == "FreeBSD" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") -VDPAU_AVAILABLE= yes -.elif ${OPSYS} == "SunOS" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") \ - && !empty(OS_VERSION:M5.1[0-9]*) +#.if ${OPSYS} == "Linux" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") +#VDPAU_AVAILABLE= yes +#.elif ${OPSYS} == "FreeBSD" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") +#VDPAU_AVAILABLE= yes +#.elif ${OPSYS} == "SunOS" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") \ +# && !empty(OS_VERSION:M5.1[0-9]*) +#VDPAU_AVAILABLE= yes +#.else +#VDPAU_AVAILABLE= no +#.endif + +# XXX even these restrictions seem arbitrary +.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") VDPAU_AVAILABLE= yes -.else -VDPAU_AVAILABLE= no .endif -- cgit v1.2.3