diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-01 20:13:08 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-01 20:13:08 +0000 |
commit | 4bea1f89346958e28002b864fe20bbe546e3671b (patch) | |
tree | 59d286d2c3b22df2d40fe31e6c1820abf7997f4f /multimedia/xawtv | |
parent | fedc4b99ef67c07c6cd46d89df2874b518d2391a (diff) | |
download | pkgsrc-4bea1f89346958e28002b864fe20bbe546e3671b.tar.gz |
Convert to options framework.
Diffstat (limited to 'multimedia/xawtv')
-rw-r--r-- | multimedia/xawtv/Makefile | 15 |
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" |