summaryrefslogtreecommitdiff
path: root/multimedia/xawtv
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-10 18:26:36 +0000
committerwiz <wiz@pkgsrc.org>2005-06-10 18:26:36 +0000
commit64f190d4ad8a8ede9fc6b810f5054bf67aba1483 (patch)
treeb6f741147ee723d6b85dc34ef3062e8f8863db08 /multimedia/xawtv
parentd63ffd83d26bb9ad5f4ba9077b95fb4f866f645b (diff)
downloadpkgsrc-64f190d4ad8a8ede9fc6b810f5054bf67aba1483.tar.gz
Always add mmx to PKG_SUPPORTED_OPTIONS, but ignore it on all but i386.
Diffstat (limited to 'multimedia/xawtv')
-rw-r--r--multimedia/xawtv/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile
index a30f326dac9..967b97f1f92 100644
--- a/multimedia/xawtv/Makefile
+++ b/multimedia/xawtv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/06/01 20:14:28 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2005/06/10 18:26:36 wiz Exp $
#
DISTNAME= xawtv_3.90
@@ -30,18 +30,16 @@ 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 ${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"