summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2017-01-22 10:58:47 +0000
committermaya <maya@pkgsrc.org>2017-01-22 10:58:47 +0000
commitaaffc58d95b129aae52fca633cdddf89dda808b1 (patch)
tree8e50fb6789065c570510fc8671a44a6103a9bff6 /multimedia
parentc8129f4923f23f6d53ea92ffb080b2740bd77eb3 (diff)
downloadpkgsrc-aaffc58d95b129aae52fca633cdddf89dda808b1.tar.gz
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.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libvdpau/available.mk23
1 files 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