diff options
author | cube <cube> | 2004-07-12 19:27:05 +0000 |
---|---|---|
committer | cube <cube> | 2004-07-12 19:27:05 +0000 |
commit | 6839982c2595202a563607bb7c785bea413593ed (patch) | |
tree | 1bdbb8477f81f6209af6e7a49a96a19f071561e4 /x11 | |
parent | 004bfab4e8cbf4b8f646f0cd7a72d08ee967a09e (diff) | |
download | pkgsrc-6839982c2595202a563607bb7c785bea413593ed.tar.gz |
For USE_MMX users, do the following:
o only include it in the BUILD_DEFS if the current platform is concerned.
For now that only includes i386, but we might find amd64 users in the
future.
o test against [Yy][Ee][Ss], for consistency.
Fixes part of PR 26243.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/eterm/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/eterm/Makefile b/x11/eterm/Makefile index 90d5bcfe5e3..9189d77c354 100644 --- a/x11/eterm/Makefile +++ b/x11/eterm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2004/07/12 19:08:03 cube Exp $ +# $NetBSD: Makefile,v 1.34 2004/07/12 19:27:05 cube Exp $ # DISTNAME= Eterm-0.9.2 @@ -45,9 +45,11 @@ OWN_DIRS= ${PKG_SYSCONFDIR}/themes SPECIAL_PERMS= ${PREFIX}/bin/Eterm ${SETUID_ROOT_PERMS} .endif +.if ${MACHINE_ARCH} == "i386" BUILD_DEFS+= USE_MMX -.if ${MACHINE_ARCH} == "i386" && !empty(USE_MMX:M[Yy][Ee][Ss]) +. if !empty(USE_MMX:M[Yy][Ee][Ss]) CONFIGURE_ARGS+= --enable-mmx +. endif .endif post-extract: |