summaryrefslogtreecommitdiff
path: root/multimedia/xawtv
diff options
context:
space:
mode:
authorwiz <wiz>2005-06-10 18:26:36 +0000
committerwiz <wiz>2005-06-10 18:26:36 +0000
commit421438f339715b511bcdbe741a2397eab11f699b (patch)
treeb6f741147ee723d6b85dc34ef3062e8f8863db08 /multimedia/xawtv
parent302d45a214b1f1ab7d633c89ca761496d3c3f90c (diff)
downloadpkgsrc-421438f339715b511bcdbe741a2397eab11f699b.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"