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
commite3f6f6ef23410adc6369047103904778adc16d94 (patch)
treeb586e6e04281a8a16e5143d24ffbb1fb74ad968a /multimedia
parent0fcc91c89feb7149ab71450d2a62cdb546f36e18 (diff)
downloadpkgsrc-e3f6f6ef23410adc6369047103904778adc16d94.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"