pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mplayer-share Enable runtime CPU detection ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1051f740090
branches:  trunk
changeset: 530843:c1051f740090
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Jul 11 20:39:38 2007 +0000

description:
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:

 multimedia/mplayer-share/options.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 94d0561aa500 -r c1051f740090 multimedia/mplayer-share/options.mk
--- a/multimedia/mplayer-share/options.mk       Wed Jul 11 20:19:00 2007 +0000
+++ b/multimedia/mplayer-share/options.mk       Wed Jul 11 20:39:38 2007 +0000
@@ -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 @@
 .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"



Home | Main Index | Thread Index | Old Index