summaryrefslogtreecommitdiff
path: root/graphics/mplayer-share
diff options
context:
space:
mode:
authorwiz <wiz>2002-11-14 01:06:24 +0000
committerwiz <wiz>2002-11-14 01:06:24 +0000
commitb38c50b651678c10bc887a8d548897f01537cb0f (patch)
tree7b2818c5e4bc2fdd434308f5156be4dc86d94786 /graphics/mplayer-share
parentd831c3cc8ed2667b42732441015b4e4c7977deae (diff)
downloadpkgsrc-b38c50b651678c10bc887a8d548897f01537cb0f.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/mplayer-share')
-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