summaryrefslogtreecommitdiff
path: root/multimedia/libvdpau/available.mk
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libvdpau/available.mk')
-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