summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz>2005-06-01 20:13:08 +0000
committerwiz <wiz>2005-06-01 20:13:08 +0000
commitf7e18c063e7c6d0ff2aacb6580f4880d3ecf48f5 (patch)
tree59d286d2c3b22df2d40fe31e6c1820abf7997f4f /multimedia
parent7fa6e866bd01bc2170f8fb62077b62cc46c38714 (diff)
downloadpkgsrc-f7e18c063e7c6d0ff2aacb6580f4880d3ecf48f5.tar.gz
Convert to options framework.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xawtv/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile
index 4ab8f2ebe3c..a30f326dac9 100644
--- a/multimedia/xawtv/Makefile
+++ b/multimedia/xawtv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/06/01 18:03:07 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2005/06/01 20:14:28 wiz Exp $
#
DISTNAME= xawtv_3.90
@@ -29,13 +29,18 @@ SUBST_FILES.devoss+= man/motv.1 man/record.1 man/streamer.1 man/xawtv.1
SUBST_FILES.devoss+= man/es/streamer.1 man/es/xawtv.1 man/fr/xawtv.1
SUBST_SED.devoss= -e 's|/dev/dsp|${DEVOSSAUDIO}|g'
+PKG_OPTIONS_VAR= PKG_OPTIONS.xawtv
+
.include "../../mk/bsd.prefs.mk"
-.if !empty(MACHINE_ARCH:Mi386)
-BUILD_DEFS+= USE_MMX
-. if defined(USE_MMX) && !empty(USE_MMX:M[Yy][Ee][Ss])
+.if ${MACHINE_ARCH} == "i386"
+PKG_SUPPORTED_OPTIONS= mmx
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mmmx)
CONFIGURE_ARGS+= --enable-mmx
-. endif
.endif
.include "../../devel/ncurses/buildlink3.mk"