don't enable padlock support on NetBSD by default, it crashes on padlock
capable CPUs
This commit is contained in:
parent
d545bfaaf3
commit
24b0898270
2 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.48 2010/11/13 21:09:02 shattered Exp $
|
||||
# $NetBSD: Makefile,v 1.49 2011/02/19 00:55:31 jmcneill Exp $
|
||||
|
||||
DISTNAME= libgcrypt-1.4.6
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libgcrypt/ \
|
||||
http://gd.tuwien.ac.at/privacy/gnupg/libgcrypt/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: options.mk,v 1.5 2009/12/18 18:54:24 drochner Exp $
|
||||
# $NetBSD: options.mk,v 1.6 2011/02/19 00:55:31 jmcneill Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.libgcrypt
|
||||
PKG_SUPPORTED_OPTIONS= idea
|
||||
|
@ -11,7 +11,10 @@ PKG_SUPPORTED_OPTIONS= idea
|
|||
# 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue