diff options
author | cube <cube> | 2004-07-12 19:27:05 +0000 |
---|---|---|
committer | cube <cube> | 2004-07-12 19:27:05 +0000 |
commit | c7720827545c5c8fa5c9b95fbafd2c759ce519c2 (patch) | |
tree | 1bdbb8477f81f6209af6e7a49a96a19f071561e4 /devel | |
parent | 7c74cb1086822546bc9a8c73244227a19a18b0c6 (diff) | |
download | pkgsrc-c7720827545c5c8fa5c9b95fbafd2c759ce519c2.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 'devel')
-rw-r--r-- | devel/libast/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/libast/Makefile b/devel/libast/Makefile index ecc7ae398be..890db7e02d6 100644 --- a/devel/libast/Makefile +++ b/devel/libast/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2004/02/14 17:21:37 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2004/07/12 19:27:05 cube Exp $ DISTNAME= libast-0.5 PKGREVISION= 6 @@ -16,10 +16,12 @@ TEST_TARGET= test .include "../../mk/bsd.prefs.mk" -.if ${MACHINE_ARCH} == "i386" && ${USE_MMX} != "NO" +.if ${MACHINE_ARCH} == "i386" +BUILD_DEFS+= USE_MMX +. if !empty(USE_MMX:M[Yy][Ee][Ss]) CONFIGURE_ARGS+= --enable-mmx +. endif .endif -BUILD_DEFS+= USE_MMX .if ${OPSYS} == "SunOS" LDFLAGS+=-lresolv |