summaryrefslogtreecommitdiff
path: root/graphics/imlib2
diff options
context:
space:
mode:
authorobache <obache>2011-05-04 02:00:02 +0000
committerobache <obache>2011-05-04 02:00:02 +0000
commit838e6e0fa580ce42f2bba293be75dd149fba1342 (patch)
treee5a8a346f2a3d23bc97935ca2d0f2eab0a9384f4 /graphics/imlib2
parente2169fc8a53a8f4de86cd5f2ef4df5026c5bdb17 (diff)
downloadpkgsrc-838e6e0fa580ce42f2bba293be75dd149fba1342.tar.gz
exactly disable MMX/AMD64 optimization if pkg option is off.
part of PR#44931.
Diffstat (limited to 'graphics/imlib2')
-rw-r--r--graphics/imlib2/options.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/imlib2/options.mk b/graphics/imlib2/options.mk
index 5384a5b8555..506ec7b42cf 100644
--- a/graphics/imlib2/options.mk
+++ b/graphics/imlib2/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.9 2011/01/31 10:21:41 wiz Exp $
+# $NetBSD: options.mk,v 1.10 2011/05/04 02:00:02 obache Exp $
.include "../../mk/bsd.prefs.mk"
@@ -16,10 +16,14 @@ PKG_SUGGESTED_OPTIONS+= imlib2-amd64
.if !empty(PKG_OPTIONS:Mmmx)
CONFIGURE_ARGS+= --enable-mmx
+.else
+CONFIGURE_ARGS+= --disable-mmx
.endif
.if !empty(PKG_OPTIONS:Mimlib2-amd64)
CONFIGURE_ARGS+= --enable-amd64
+.else
+CONFIGURE_ARGS+= --disable-amd64
.endif
PLIST_VARS+= x11