pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/imlib2 exactly disable MMX/AMD64 optimization...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0e550b2b2e59
branches: trunk
changeset: 588241:0e550b2b2e59
user: obache <obache%pkgsrc.org@localhost>
date: Wed May 04 02:00:02 2011 +0000
description:
exactly disable MMX/AMD64 optimization if pkg option is off.
part of PR#44931.
diffstat:
graphics/imlib2/options.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r df70586c64ee -r 0e550b2b2e59 graphics/imlib2/options.mk
--- a/graphics/imlib2/options.mk Tue May 03 17:54:06 2011 +0000
+++ b/graphics/imlib2/options.mk Wed May 04 02:00:02 2011 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index