pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mplayer-share convert to options framework,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/780334d3db61
branches:  trunk
changeset: 495095:780334d3db61
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Thu Jun 02 16:00:56 2005 +0000

description:
convert to options framework, noted by Geert Hendrickx

diffstat:

 multimedia/mplayer-share/Makefile.cflags |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r f7c570fd949c -r 780334d3db61 multimedia/mplayer-share/Makefile.cflags
--- a/multimedia/mplayer-share/Makefile.cflags  Thu Jun 02 15:14:05 2005 +0000
+++ b/multimedia/mplayer-share/Makefile.cflags  Thu Jun 02 16:00:56 2005 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile.cflags,v 1.1.1.1 2004/01/26 12:06:40 jmmv Exp $
+# $NetBSD: Makefile.cflags,v 1.2 2005/06/02 16:00:56 dillo Exp $
 
 # This must be included after everything else to truly clear ${CFLAGS}
 # in the non-runtime-cpu-detection case. If ${CFLAGS} is non-empty, the
 # configure script refuses to add any optimizations at all.
 
-.if ${MPLAYER_ENABLE_RUNTIME_CPU_DETECTION} == YES
+.if !empty(PKG_OPTIONS:Mmplayer-runtime-cpudetection)
 .  if ${MACHINE_ARCH} == i386
 # Schedule for the typical machine fast enough to run mplayer. This
 # is nearly optimal for K6-2 as well. Anything slowler will still run



Home | Main Index | Thread Index | Old Index