1 # $NetBSD: options.mk,v 1.7 2012/01/20 17:07:38 drochner Exp $
3 PKG_OPTIONS_VAR
= PKG_OPTIONS.libgcrypt
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
21 .
include "../../mk/bsd.options.mk"
23 .if empty
(PKG_OPTIONS
:Mvia-padlock
)
24 # Disable VIA Padlock support.
25 CONFIGURE_ARGS
+= --disable-padlock-support