summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/imlib2/options.mk11
-rw-r--r--mk/defaults/options.description1
2 files changed, 10 insertions, 2 deletions
diff --git a/graphics/imlib2/options.mk b/graphics/imlib2/options.mk
index aa3efddbb2a..4d633335f0f 100644
--- a/graphics/imlib2/options.mk
+++ b/graphics/imlib2/options.mk
@@ -1,10 +1,13 @@
-# $NetBSD: options.mk,v 1.4 2005/06/11 16:54:31 wiz Exp $
+# $NetBSD: options.mk,v 1.5 2006/12/16 11:20:23 wiz Exp $
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.imlib2
.if ${MACHINE_ARCH} == "i386"
-PKG_SUPPORTED_OPTIONS= mmx
+PKG_SUPPORTED_OPTIONS+= mmx
+.elif ${MACHINE_ARCH} == "x86_64"
+PKG_SUPPORTED_OPTIONS+= imlib2-amd64
+PKG_SUGGESTED_OPTIONS+= imlib2-amd64
.endif
.include "../../mk/bsd.options.mk"
@@ -12,3 +15,7 @@ PKG_SUPPORTED_OPTIONS= mmx
.if !empty(PKG_OPTIONS:Mmmx)
CONFIGURE_ARGS+= --enable-mmx
.endif
+
+.if !empty(PKG_OPTIONS:Mimlib2-amd64)
+CONFIGURE_ARGS+= --enable-amd64
+.endif
diff --git a/mk/defaults/options.description b/mk/defaults/options.description
index 987a02a3065..efc7464b81f 100644
--- a/mk/defaults/options.description
+++ b/mk/defaults/options.description
@@ -141,6 +141,7 @@ imapuw-cleartextpwd Allow cleartext passwords over non-encrypted connections.
imapuw-whoson Enable whoson support.
imlib Use imlib as imaging library.
imlib2 Use imlib2 as imaging library.
+imlib2-amd64 Enable amd64 speedups.
inet6 Enable support for IPv6.
iodbc Enable ODBC support via iODBC.
ipa-memfunc-debug Enable ipa_memfunc debugging.