summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2003-04-01 08:04:54 +0000
committermrg <mrg@pkgsrc.org>2003-04-01 08:04:54 +0000
commitd10ff30e759a7e0b6ef1ad808ea32af123882538 (patch)
treee65c84a7ddd71d58742d280a60e5e70a3328837a /graphics
parentf278e62dd9dde6f4ddf24b66f967110134698d2d (diff)
downloadpkgsrc-d10ff30e759a7e0b6ef1ad808ea32af123882538.tar.gz
make MPLAYER_USE_REALMEDIA used on powerpc & alpha as well as i386...
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mplayer-share/Makefile.common7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/mplayer-share/Makefile.common b/graphics/mplayer-share/Makefile.common
index f674ed05f8b..c2b33d4d598 100644
--- a/graphics/mplayer-share/Makefile.common
+++ b/graphics/mplayer-share/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.27 2003/03/22 03:13:37 salo Exp $
+# $NetBSD: Makefile.common,v 1.28 2003/04/01 08:04:54 mrg Exp $
#
MPLAYER_DIST_VERSION= 0.90rc5
@@ -54,9 +54,12 @@ CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32"
. if ${MPLAYER_ENABLE_RUNTIME_CPU_DETECTION} == YES
CONFIGURE_ARGS+= --enable-runtime-cpudetection
. endif
+BUILD_DEFS+= MPLAYER_ENABLE_RUNTIME_CPU_DETECTION
+.endif
+
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "alpha"
. if ${MPLAYER_USE_REALMEDIA} == "YES"
CONFIGURE_ARGS+= --with-reallibdir="${LOCALBASE}/lib/RealPlayer8/Codecs"
. endif
-BUILD_DEFS+= MPLAYER_ENABLE_RUNTIME_CPU_DETECTION
BUILD_DEFS+= MPLAYER_USE_REALMEDIA
.endif