summaryrefslogtreecommitdiff
path: root/multimedia/libva
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-25 15:49:43 +0000
committerjperkin <jperkin>2016-02-25 15:49:43 +0000
commita1e5a2ce27367203746bf97543e0bce217e878ce (patch)
tree0e736d82778ebf75f763c9996a890c6c28681c0b /multimedia/libva
parentdf06e544bf7847a5ae8ac405f2083e0e58702466 (diff)
downloadpkgsrc-a1e5a2ce27367203746bf97543e0bce217e878ce.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'multimedia/libva')
-rw-r--r--multimedia/libva/available.mk18
1 files changed, 6 insertions, 12 deletions
diff --git a/multimedia/libva/available.mk b/multimedia/libva/available.mk
index be8aadaa156..2bf58d9713e 100644
--- a/multimedia/libva/available.mk
+++ b/multimedia/libva/available.mk
@@ -1,18 +1,12 @@
-# $NetBSD: available.mk,v 1.2 2013/04/14 01:07:56 cheusov Exp $
-
-.include "../../mk/bsd.prefs.mk"
+# $NetBSD: available.mk,v 1.3 2016/02/25 15:49:44 jperkin Exp $
# At the moment VAAPI is available only for XXX. 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.
# The following should be kept up-to-date!
-.if ${OPSYS} == "Linux"
-VAAPI_AVAILABLE= yes
-.elif ${OPSYS} == "FreeBSD"
-VAAPI_AVAILABLE= yes
-.elif ${OPSYS} == "OpenBSD"
-VAAPI_AVAILABLE= yes
-.else
-VAAPI_AVAILABLE= no
-.endif
+OPSYSVARS+= VAAPI_AVAILABLE
+VAAPI_AVAILABLE.Linux= yes
+VAAPI_AVAILABLE.FreeBSD= yes
+VAAPI_AVAILABLE.OpenBSD= yes
+VAAPI_AVAILABLE.*= no