summaryrefslogtreecommitdiff
path: root/multimedia/xawtv
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-11 16:53:18 +0000
committerwiz <wiz@pkgsrc.org>2005-06-11 16:53:18 +0000
commit57da61828ea18c0b37740e18d1b8040331e39614 (patch)
treee4ab41c64c96a6316bf0fb016faa7dff70703273 /multimedia/xawtv
parent0cb44ed22c7771647c24f86b61a2c015f392e1ca (diff)
downloadpkgsrc-57da61828ea18c0b37740e18d1b8040331e39614.tar.gz
Now that bsd.options.mk has been changed, only add mmx to PKG_SUPPORTED_OPTIONS on i386.
Diffstat (limited to 'multimedia/xawtv')
-rw-r--r--multimedia/xawtv/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile
index 967b97f1f92..e6e2cd9d429 100644
--- a/multimedia/xawtv/Makefile
+++ b/multimedia/xawtv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/06/10 18:26:36 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2005/06/11 16:58:08 wiz Exp $
#
DISTNAME= xawtv_3.90
@@ -29,17 +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'
+.include "../../mk/bsd.prefs.mk"
+
PKG_OPTIONS_VAR= PKG_OPTIONS.xawtv
+.if ${MACHINE_ARCH} == "i386"
PKG_SUPPORTED_OPTIONS= mmx
+.endif
.include "../../mk/bsd.options.mk"
-.include "../../mk/bsd.prefs.mk"
.if !empty(PKG_OPTIONS:Mmmx)
-.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --enable-mmx
.endif
-.endif
.include "../../devel/ncurses/buildlink3.mk"
.include "../../fonts/Xft2/buildlink3.mk"