summaryrefslogtreecommitdiff
path: root/graphics/mplayer-share
diff options
context:
space:
mode:
authorwiz <wiz>2002-12-23 00:05:32 +0000
committerwiz <wiz>2002-12-23 00:05:32 +0000
commit6116a12dd57a06c078d4791ae2eff50d4369ed32 (patch)
treed4ac852eceadc2e8c3af717ef50a0a42a276bcc4 /graphics/mplayer-share
parentabf70c6ab7fb9f7903785fa279508bd2d7664049 (diff)
downloadpkgsrc-6116a12dd57a06c078d4791ae2eff50d4369ed32.tar.gz
Add a new variable MPLAYER_ENABLE_RUNTIME_CPU_DETECTION that governs
the runtime CPU checks; it defaults to YES, which makes the binary package usable on more machines; setting it to NO might make mplayer a bit faster. Suggested by veego.
Diffstat (limited to 'graphics/mplayer-share')
-rw-r--r--graphics/mplayer-share/Makefile.common6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/mplayer-share/Makefile.common b/graphics/mplayer-share/Makefile.common
index 3dfb1b3b050..8ee17b74884 100644
--- a/graphics/mplayer-share/Makefile.common
+++ b/graphics/mplayer-share/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.19 2002/12/21 19:52:08 wiz Exp $
+# $NetBSD: Makefile.common,v 1.20 2002/12/23 00:05:32 wiz Exp $
MPLAYER_DIST_VERSION= 0.90rc1
#PKGREVISION= 1
@@ -49,8 +49,12 @@ CONFIGURE_ENV+= TMPDIR=${WRKDIR}
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32"
+.if ${MPLAYER_ENABLE_RUNTIME_CPU_DETECTION} == YES
CONFIGURE_ARGS+= --enable-runtime-cpudetection
+.endif
.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