summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz>2005-06-10 18:26:36 +0000
committerwiz <wiz>2005-06-10 18:26:36 +0000
commit01ad0361c3e2b4f55e85e5ef68873c3ca016e79a (patch)
treeb6f741147ee723d6b85dc34ef3062e8f8863db08 /multimedia
parente0f1828e2269d98202adb6404a61592707d82661 (diff)
downloadpkgsrc-01ad0361c3e2b4f55e85e5ef68873c3ca016e79a.tar.gz
Always add mmx to PKG_SUPPORTED_OPTIONS, but ignore it on all but i386.
Diffstat (limited to 'multimedia')
-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"