diff options
author | wiz <wiz@pkgsrc.org> | 2002-12-26 04:30:41 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-12-26 04:30:41 +0000 |
commit | 03303e62c26b1d3bf96b887adc46e98be2ffaa67 (patch) | |
tree | 7d0766311795dc855679a070e9b5e35c1dbb46e2 /graphics/imlib2 | |
parent | 04beced10d3f04c0d079c6d155df4a449c699c04 (diff) | |
download | pkgsrc-03303e62c26b1d3bf96b887adc46e98be2ffaa67.tar.gz |
Test USE_MMX variable instead of undocumented IMLIB2_USE_MMX.
Diffstat (limited to 'graphics/imlib2')
-rw-r--r-- | graphics/imlib2/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile index ea9713fc610..8e55e5500b2 100644 --- a/graphics/imlib2/Makefile +++ b/graphics/imlib2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2002/12/19 12:45:47 grant Exp $ +# $NetBSD: Makefile,v 1.6 2002/12/26 04:30:41 wiz Exp $ # DISTNAME= imlib2-1.0.3 @@ -19,11 +19,10 @@ LIBTOOL_OVERRIDE= ${WRKSRC}/libtool .include "../../mk/bsd.prefs.mk" -IMLIB2_USE_MMX?= NO - -.if ${MACHINE_ARCH} == "i386" && ${IMLIB2_USE_MMX} != "NO" +.if ${MACHINE_ARCH} == "i386" && ${USE_MMX} != "NO" CONFIGURE_ARGS+= --enable-mmx .endif +BUILD_DEFS+= USE_MMX .include "../../devel/gettext-lib/buildlink2.mk" .include "../../graphics/freetype-lib/buildlink2.mk" |