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
commitcb8e761a4dd5084ffd7cc5c59aaafc2a26884a1d (patch)
treeb6f741147ee723d6b85dc34ef3062e8f8863db08 /multimedia/xawtv
parent758a8ec7317dfacb695dfd8f2b0cff97ee03dfe0 (diff)
downloadpkgsrc-cb8e761a4dd5084ffd7cc5c59aaafc2a26884a1d.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"