pkgsrc/security/libgcrypt/options.mk
wiz 685e7d0f4c Update to 1.5.2.
XXX: lots of patches without comments, and not upstreamed it seems.

Noteworthy changes in version 1.5.2 (2013-04-18)
------------------------------------------------

 * Added support for IDEA.

 * Made the Padlock code work again (regression since 1.5.0).

 * Fixed alignment problems for Serpent.

 * Fixed two bugs in ECC computations.
2013-04-21 14:44:53 +00:00

26 lines
724 B
Makefile

# $NetBSD: options.mk,v 1.8 2013/04/21 14:44:53 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libgcrypt
PKG_SUPPORTED_OPTIONS=
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Darwin"
. include "../../mk/compiler.mk"
# GCC 3.x (at least 3.3.3 on NetBSD) fails to compile asm() call in
# cipher/rijndael.c:do_padlock()
. if empty(CC_VERSION:Mgcc-3.*)
PKG_SUPPORTED_OPTIONS+= via-padlock
# With GCC 4.1.3 on NetBSD, do_padlock() crashes with signal 11
. if ${OPSYS} != "NetBSD"
PKG_SUGGESTED_OPTIONS+= via-padlock
. endif
. endif
.endif
.include "../../mk/bsd.options.mk"
.if empty(PKG_OPTIONS:Mvia-padlock)
# Disable VIA Padlock support.
CONFIGURE_ARGS+= --disable-padlock-support
.endif