summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share/options.mk
diff options
context:
space:
mode:
authorabs <abs>2007-09-06 18:31:00 +0000
committerabs <abs>2007-09-06 18:31:00 +0000
commitb25b225297f8c8106d53d3b1e43cadf648979b17 (patch)
tree6d330c51109873015990188ad7adaf33d06e946b /multimedia/mplayer-share/options.mk
parent04a35c973d8d035173ea5db28a5385bb47e85cbd (diff)
downloadpkgsrc-b25b225297f8c8106d53d3b1e43cadf648979b17.tar.gz
If the *mplayer* packages are going to default to setting cflags
to target a pentium pro if mplayer-runtime-cpudetection is enabled then at least put it under an option so it can be turned off: mplayer-default-cflags For example, all of my machines are p3 or better, so I prefer to use "-march=pentium3 -mfpmath=sse -msse2", but I still want mplayer-runtime-cpudetection to handle amd64 / Intel core at runtime.
Diffstat (limited to 'multimedia/mplayer-share/options.mk')
-rw-r--r--multimedia/mplayer-share/options.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk
index 58465d7ba13..6008ff71727 100644
--- a/multimedia/mplayer-share/options.mk
+++ b/multimedia/mplayer-share/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.21 2007/07/11 20:39:38 tron Exp $
+# $NetBSD: options.mk,v 1.22 2007/09/06 18:31:00 abs Exp $
.if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*)
@@ -48,7 +48,7 @@ PKG_SUPPORTED_OPTIONS+= mlib
PKG_SUPPORTED_OPTIONS+= mplayer-runtime-cpudetection xvid
.endif
.if ${MACHINE_ARCH} == "i386"
-PKG_SUPPORTED_OPTIONS+= mplayer-win32
+PKG_SUPPORTED_OPTIONS+= mplayer-default-cflags mplayer-win32
.endif
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "alpha"
@@ -61,7 +61,7 @@ PKG_SUPPORTED_OPTIONS+= mplayer-real
.for _o_ in aalib arts cdparanoia dv dvdread esound gif jpeg \
lame mad mplayer-menu mplayer-real \
- mplayer-runtime-cpudetection mplayer-win32 \
+ mplayer-default-cflags mplayer-runtime-cpudetection mplayer-win32 \
nas oss png sdl theora vorbis xvid
. if !empty(PKG_SUPPORTED_OPTIONS:M${_o_})
PKG_SUGGESTED_OPTIONS+= ${_o_}