summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2004-07-12 19:08:03 +0000
committercube <cube@pkgsrc.org>2004-07-12 19:08:03 +0000
commite364c6f686f30e9f9df2df876acc9fbdbb31999b (patch)
treef952b48b7df0b96a3c111badcc08cf262874a806
parent6d5d137e0d4ade3270246d74fe8a19a7656afc1b (diff)
downloadpkgsrc-e364c6f686f30e9f9df2df876acc9fbdbb31999b.tar.gz
Always register USE_MMX as a BUILD_DEF, and test against [Yy][Ee][Ss], as
everywhere else. About PR 26243.
-rw-r--r--x11/eterm/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/eterm/Makefile b/x11/eterm/Makefile
index 1288c581f38..90d5bcfe5e3 100644
--- a/x11/eterm/Makefile
+++ b/x11/eterm/Makefile
@@ -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 @@ OWN_DIRS= ${PKG_SYSCONFDIR}/themes
SPECIAL_PERMS= ${PREFIX}/bin/Eterm ${SETUID_ROOT_PERMS}
.endif
-.if ${MACHINE_ARCH} == "i386" && ${USE_MMX} != "NO"
-CONFIGURE_ARGS+= --enable-mmx
BUILD_DEFS+= USE_MMX
+.if ${MACHINE_ARCH} == "i386" && !empty(USE_MMX:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --enable-mmx
.endif
post-extract: