diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-07-19 23:56:21 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-07-19 23:56:21 +0000 |
commit | a6ad7f04c09eed07aa9f60191183b63df207ee33 (patch) | |
tree | 05827c1a4f1232481cb21b9bfe841c28b1a047c3 /multimedia/xawtv | |
parent | bad655fb1b46b384ba795cc9916481c4d6713d83 (diff) | |
download | pkgsrc-a6ad7f04c09eed07aa9f60191183b63df207ee33.tar.gz |
Only show USE_MMX in BUILD_DEFS when ${MACHINE_ARCH} == i386.
This closes PR pkg/26243.
Diffstat (limited to 'multimedia/xawtv')
-rw-r--r-- | multimedia/xawtv/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile index 8e1a2ef83f3..9d0937f6874 100644 --- a/multimedia/xawtv/Makefile +++ b/multimedia/xawtv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2004/04/18 07:11:29 snj Exp $ +# $NetBSD: Makefile,v 1.4 2004/07/19 23:56:21 xtraeme Exp $ # DISTNAME= xawtv_3.90 @@ -33,8 +33,11 @@ SUBST_SED.devoss= -e 's|/dev/dsp|${DEVOSSAUDIO}|g' .include "../../mk/bsd.prefs.mk" -.if defined(USE_MMX) && !empty(USE_MMX:M[Yy][Ee][Ss]) +.if !empty(MACHINE_ARCH:Mi386) +BUILD_DEFS+= USE_MMX +. if defined(USE_MMX) && !empty(USE_MMX:M[Yy][Ee][Ss]) CONFIGURE_ARGS+= --enable-mmx +. endif .endif .include "../../devel/ncurses/buildlink3.mk" |