diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-10 18:20:06 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-10 18:20:06 +0000 |
commit | 6ac47b68a4508af8cf50759845f87d49a881474c (patch) | |
tree | acd5ab3ed46d538af8b4150088e0dd94d148c0ac /graphics | |
parent | e4be7e4aa1f62958dcc5c00c35aeb5526455d116 (diff) | |
download | pkgsrc-6ac47b68a4508af8cf50759845f87d49a881474c.tar.gz |
Slightly different solution to previous:
just ignore mmx pkg_option if set on non-i386.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/imlib2/options.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/imlib2/options.mk b/graphics/imlib2/options.mk index 4326000a832..476b72f7f53 100644 --- a/graphics/imlib2/options.mk +++ b/graphics/imlib2/options.mk @@ -1,14 +1,13 @@ -# $NetBSD: options.mk,v 1.2 2005/06/10 18:14:23 wiz Exp $ +# $NetBSD: options.mk,v 1.3 2005/06/10 18:21:45 wiz Exp $ -.include "../../mk/bsd.prefs.mk" - -.if ${MACHINE_ARCH} == "i386" PKG_OPTIONS_VAR= PKG_OPTIONS.imlib2 PKG_SUPPORTED_OPTIONS= mmx .include "../../mk/bsd.options.mk" +.include "../../mk/bsd.prefs.mk" .if !empty(PKG_OPTIONS:Mmmx) +.if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+= --enable-mmx .endif .endif |