diff options
author | cheusov <cheusov@pkgsrc.org> | 2012-12-02 11:03:51 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2012-12-02 11:03:51 +0000 |
commit | 78bd0d36404469abad9c3682a88a2b1dd03dc73d (patch) | |
tree | abfe548dd97500d5f941cc6b6e57678a58238f0b | |
parent | ace6c8dccd8a1c7c77afae628d03ecaa22d2a422 (diff) | |
download | pkgsrc-78bd0d36404469abad9c3682a88a2b1dd03dc73d.tar.gz |
Fix MACHINE_ARCH comparison (amd64 vs. x86_64)
-rw-r--r-- | multimedia/libvdpau/available.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/libvdpau/available.mk b/multimedia/libvdpau/available.mk index 64b1cf67f2f..de23adaad69 100644 --- a/multimedia/libvdpau/available.mk +++ b/multimedia/libvdpau/available.mk @@ -1,4 +1,4 @@ -# $NetBSD: available.mk,v 1.2 2011/02/20 21:39:22 wiz Exp $ +# $NetBSD: available.mk,v 1.3 2012/12/02 11:03:51 cheusov Exp $ .include "../../mk/bsd.prefs.mk" @@ -7,11 +7,11 @@ # 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} == "amd64") +.if ${OPSYS} == "Linux" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") VDPAU_AVAILABLE= yes -.elif ${OPSYS} == "FreeBSD" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64") +.elif ${OPSYS} == "FreeBSD" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") VDPAU_AVAILABLE= yes -.elif ${OPSYS} == "SunOS" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64") \ +.elif ${OPSYS} == "SunOS" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") \ && !empty(OS_VERSION:M5.1[0-9]*) VDPAU_AVAILABLE= yes .else |