pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/xawtv Always add mmx to PKG_SUPPORTED_OPTIO...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3cb0111b23c0
branches: trunk
changeset: 495471:3cb0111b23c0
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Jun 10 18:26:36 2005 +0000
description:
Always add mmx to PKG_SUPPORTED_OPTIONS, but ignore it on all but i386.
diffstat:
multimedia/xawtv/Makefile | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diffs (31 lines):
diff -r 77d461fb8664 -r 3cb0111b23c0 multimedia/xawtv/Makefile
--- a/multimedia/xawtv/Makefile Fri Jun 10 18:25:13 2005 +0000
+++ b/multimedia/xawtv/Makefile Fri Jun 10 18:26:36 2005 +0000
@@ -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,17 +30,15 @@
SUBST_SED.devoss= -e 's|/dev/dsp|${DEVOSSAUDIO}|g'
PKG_OPTIONS_VAR= PKG_OPTIONS.xawtv
+PKG_SUPPORTED_OPTIONS= mmx
+.include "../../mk/bsd.options.mk"
.include "../../mk/bsd.prefs.mk"
+.if !empty(PKG_OPTIONS:Mmmx)
.if ${MACHINE_ARCH} == "i386"
-PKG_SUPPORTED_OPTIONS= mmx
+CONFIGURE_ARGS+= --enable-mmx
.endif
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mmmx)
-CONFIGURE_ARGS+= --enable-mmx
.endif
.include "../../devel/ncurses/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index