pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Add imlib2-amd64 speedup option. Based on patch from B...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b1c729728ed3
branches: trunk
changeset: 522649:b1c729728ed3
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Dec 16 11:20:23 2006 +0000
description:
Add imlib2-amd64 speedup option. Based on patch from Blair Sadewitz on
pkgsrc-users.
diffstat:
graphics/imlib2/options.mk | 11 +++++++++--
mk/defaults/options.description | 1 +
2 files changed, 10 insertions(+), 2 deletions(-)
diffs (38 lines):
diff -r 7e6418c64ce1 -r b1c729728ed3 graphics/imlib2/options.mk
--- a/graphics/imlib2/options.mk Sat Dec 16 11:01:44 2006 +0000
+++ b/graphics/imlib2/options.mk Sat Dec 16 11:20:23 2006 +0000
@@ -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 @@
.if !empty(PKG_OPTIONS:Mmmx)
CONFIGURE_ARGS+= --enable-mmx
.endif
+
+.if !empty(PKG_OPTIONS:Mimlib2-amd64)
+CONFIGURE_ARGS+= --enable-amd64
+.endif
diff -r 7e6418c64ce1 -r b1c729728ed3 mk/defaults/options.description
--- a/mk/defaults/options.description Sat Dec 16 11:01:44 2006 +0000
+++ b/mk/defaults/options.description Sat Dec 16 11:20:23 2006 +0000
@@ -141,6 +141,7 @@
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.
Home |
Main Index |
Thread Index |
Old Index