summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-07-11 20:39:38 +0000
committertron <tron@pkgsrc.org>2007-07-11 20:39:38 +0000
commit988e8fa521fc9040c7f14d13502174dbd8fadba5 (patch)
treeb586e6e04281a8a16e5143d24ffbb1fb74ad968a /multimedia
parent4b0f5a308fd49a59227bc63e30e5f0db4c34fd8c (diff)
downloadpkgsrc-988e8fa521fc9040c7f14d13502174dbd8fadba5.tar.gz
Enable runtime CPU detection on PowerPC-based platforms, too. This allows
using an "mplayer" binary built on a G5 based Mac OS X system on e.g. a G4 based Mac OS X system.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mplayer-share/options.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk
index cfe43870b96..58465d7ba13 100644
--- a/multimedia/mplayer-share/options.mk
+++ b/multimedia/mplayer-share/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.20 2006/12/27 21:14:12 joerg Exp $
+# $NetBSD: options.mk,v 1.21 2007/07/11 20:39:38 tron Exp $
.if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*)
@@ -43,7 +43,8 @@ PKG_SUPPORTED_OPTIONS+= mlib
.endif
# Platform-specific options.
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || \
+ ${MACHINE_ARCH} == "powerpc"
PKG_SUPPORTED_OPTIONS+= mplayer-runtime-cpudetection xvid
.endif
.if ${MACHINE_ARCH} == "i386"