Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / libgcrypt / options.mk
blob3a5dc0e11f9540b338143443044b75293245b78f
1 # $NetBSD: options.mk,v 1.7 2012/01/20 17:07:38 drochner Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.libgcrypt
4 PKG_SUPPORTED_OPTIONS=
6 .include "../../mk/bsd.prefs.mk"
8 .if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Darwin"
9 . include "../../mk/compiler.mk"
10 # GCC 3.x (at least 3.3.3 on NetBSD) fails to compile asm() call in
11 # cipher/rijndael.c:do_padlock()
12 . if empty(CC_VERSION:Mgcc-3.*)
13 PKG_SUPPORTED_OPTIONS+= via-padlock
14 # With GCC 4.1.3 on NetBSD, do_padlock() crashes with signal 11
15 . if ${OPSYS} != "NetBSD"
16 PKG_SUGGESTED_OPTIONS+= via-padlock
17 . endif
18 . endif
19 .endif
21 .include "../../mk/bsd.options.mk"
23 .if empty(PKG_OPTIONS:Mvia-padlock)
24 # Disable VIA Padlock support.
25 CONFIGURE_ARGS+= --disable-padlock-support
26 .endif