diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-25 23:35:44 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-25 23:35:44 +0000 |
commit | f9f00bdbd386e3abac7083fc8ef48b60821709e6 (patch) | |
tree | c0750567fdd1d7649b67cc18a6a7d264b0529978 /multimedia | |
parent | 1778f4dbf9f2457682c35957571103e6aada90a8 (diff) | |
download | pkgsrc-f9f00bdbd386e3abac7083fc8ef48b60821709e6.tar.gz |
Revert OPSYSVARS change, variables don't support lazy evaluation.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libva/available.mk | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/multimedia/libva/available.mk b/multimedia/libva/available.mk index 2bf58d9713e..db499c1c0e7 100644 --- a/multimedia/libva/available.mk +++ b/multimedia/libva/available.mk @@ -1,12 +1,18 @@ -# $NetBSD: available.mk,v 1.3 2016/02/25 15:49:44 jperkin Exp $ +# $NetBSD: available.mk,v 1.4 2016/02/25 23:35:44 jperkin Exp $ + +.include "../../mk/bsd.prefs.mk" # 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! -OPSYSVARS+= VAAPI_AVAILABLE -VAAPI_AVAILABLE.Linux= yes -VAAPI_AVAILABLE.FreeBSD= yes -VAAPI_AVAILABLE.OpenBSD= yes -VAAPI_AVAILABLE.*= no +.if ${OPSYS} == "Linux" +VAAPI_AVAILABLE= yes +.elif ${OPSYS} == "FreeBSD" +VAAPI_AVAILABLE= yes +.elif ${OPSYS} == "OpenBSD" +VAAPI_AVAILABLE= yes +.else +VAAPI_AVAILABLE= no +.endif |