summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz>2002-11-14 01:06:24 +0000
committerwiz <wiz>2002-11-14 01:06:24 +0000
commitd0ba4a622a9e4637de243fa2e6bb6e8fa929c6a8 (patch)
tree7b2818c5e4bc2fdd434308f5156be4dc86d94786 /graphics
parent06b67c1608e2aaeefe9dbcdb4a866674133676b8 (diff)
downloadpkgsrc-d0ba4a622a9e4637de243fa2e6bb6e8fa929c6a8.tar.gz
Runtime detection of CPU features only works on i386, so only enable it
on i386. Fixes build problem on macppc (MMX assembler instructions don't compile to well with a powerpc-targeted gas).
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mplayer-share/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/mplayer-share/Makefile.common b/graphics/mplayer-share/Makefile.common
index e364a1dfbf3..af565fb07b4 100644
--- a/graphics/mplayer-share/Makefile.common
+++ b/graphics/mplayer-share/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.16 2002/11/13 15:25:34 wiz Exp $
+# $NetBSD: Makefile.common,v 1.17 2002/11/14 01:06:24 wiz Exp $
MPLAYER_DIST_VERSION= 0.90pre10
#PKGREVISION= 1
@@ -37,7 +37,6 @@ CONFIGURE_ARGS+= --with-extraincdir="${LOCALBASE}/include"
CONFIGURE_ARGS+= --with-extralibdir="${LOCALBASE}/lib"
#CONFIGURE_ARGS+= --enable-dvdread
CONFIGURE_ARGS+= --disable-mpdvdkit
-CONFIGURE_ARGS+= --enable-runtime-cpudetection
CONFIGURE_ARGS+= --enable-faad
CONFIGURE_ARGS+= --disable-arts
@@ -50,6 +49,7 @@ CONFIGURE_ENV+= TMPDIR=${WRKDIR}
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32"
+CONFIGURE_ARGS+= --enable-runtime-cpudetection
.if ${MPLAYER_USE_REALMEDIA} == "YES"
CONFIGURE_ARGS+= --with-reallibdir="${LOCALBASE}/lib/RealPlayer8/Codecs"
.endif