pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/eterm Always register USE_MMX as a BUILD_DEF, and ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e49cca20ace
branches:  trunk
changeset: 477929:9e49cca20ace
user:      cube <cube%pkgsrc.org@localhost>
date:      Mon Jul 12 19:08:03 2004 +0000

description:
Always register USE_MMX as a BUILD_DEF, and test against [Yy][Ee][Ss], as
everywhere else.  About PR 26243.

diffstat:

 x11/eterm/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r c04d914ff366 -r 9e49cca20ace x11/eterm/Makefile
--- a/x11/eterm/Makefile        Mon Jul 12 13:54:33 2004 +0000
+++ b/x11/eterm/Makefile        Mon Jul 12 19:08:03 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2004/02/14 17:21:55 jlam Exp $
+# $NetBSD: Makefile,v 1.33 2004/07/12 19:08:03 cube Exp $
 #
 
 DISTNAME=              Eterm-0.9.2
@@ -45,9 +45,9 @@
 SPECIAL_PERMS=         ${PREFIX}/bin/Eterm ${SETUID_ROOT_PERMS}
 .endif
 
-.if ${MACHINE_ARCH} == "i386" && ${USE_MMX} != "NO"
+BUILD_DEFS+=           USE_MMX
+.if ${MACHINE_ARCH} == "i386" && !empty(USE_MMX:M[Yy][Ee][Ss])
 CONFIGURE_ARGS+=       --enable-mmx
-BUILD_DEFS+=           USE_MMX
 .endif
 
 post-extract:



Home | Main Index | Thread Index | Old Index