pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia Only show USE_MMX in BUILD_DEFS when ${MACH...
details: https://anonhg.NetBSD.org/pkgsrc/rev/05baee6cb1be
branches: trunk
changeset: 478243:05baee6cb1be
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Mon Jul 19 23:56:21 2004 +0000
description:
Only show USE_MMX in BUILD_DEFS when ${MACHINE_ARCH} == i386.
This closes PR pkg/26243.
diffstat:
multimedia/avidemux/Makefile | 6 ++++--
multimedia/xawtv/Makefile | 7 +++++--
2 files changed, 9 insertions(+), 4 deletions(-)
diffs (51 lines):
diff -r 8b2b6ee6f8d3 -r 05baee6cb1be multimedia/avidemux/Makefile
--- a/multimedia/avidemux/Makefile Mon Jul 19 23:55:49 2004 +0000
+++ b/multimedia/avidemux/Makefile Mon Jul 19 23:56:21 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/04/05 18:41:14 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2004/07/19 23:56:21 xtraeme Exp $
#
DISTNAME= avidemux-2.0.18
@@ -26,9 +26,10 @@
.include "../../mk/bsd.prefs.mk"
+.if !empty(MACHINE_ARCH:Mi386)
BUILD_DEFS+= USE_MMX
-.if empty(USE_MMX:M[Yy][Ee][Ss])
+. if empty(USE_MMX:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --disable-mmx
post-configure:
@@ -37,6 +38,7 @@
${SED} -e 's/TARGET_MMX=yes/TARGET_MMX=no/g' \
< ${WRKSRC}/adm_lavcodec/config.mak.in \
> ${WRKSRC}/adm_lavcodec/config.mak
+. endif
.endif
do-install:
diff -r 8b2b6ee6f8d3 -r 05baee6cb1be multimedia/xawtv/Makefile
--- a/multimedia/xawtv/Makefile Mon Jul 19 23:55:49 2004 +0000
+++ b/multimedia/xawtv/Makefile Mon Jul 19 23:56:21 2004 +0000
@@ -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 @@
.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"
Home |
Main Index |
Thread Index |
Old Index