Add imlib2-amd64 speedup option. Based on patch from Blair Sadewitz on

pkgsrc-users.
This commit is contained in:
wiz 2006-12-16 11:20:23 +00:00
parent 72297d47c7
commit 18b8d3078e
2 changed files with 10 additions and 2 deletions

View file

@ -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

View file

@ -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.