Thu Aug 14 19:24:07 2008 UTC ()
Remove idea option -- I can't find a patch for the current PKGVERSION.
Addresses PR 39316.


(wiz)
diff -r1.2 -r1.3 pkgsrc/security/libgcrypt/options.mk

cvs diff -r1.2 -r1.3 pkgsrc/security/libgcrypt/options.mk (expand / switch to unified diff)

--- pkgsrc/security/libgcrypt/options.mk 2008/03/26 20:09:43 1.2
+++ pkgsrc/security/libgcrypt/options.mk 2008/08/14 19:24:07 1.3
@@ -1,45 +1,23 @@ @@ -1,45 +1,23 @@
1# $NetBSD: options.mk,v 1.2 2008/03/26 20:09:43 tron Exp $ 1# $NetBSD: options.mk,v 1.3 2008/08/14 19:24:07 wiz Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.libgcrypt 3PKG_OPTIONS_VAR= PKG_OPTIONS.libgcrypt
4PKG_SUPPORTED_OPTIONS= idea 4PKG_SUPPORTED_OPTIONS=
5 5
6.include "../../mk/bsd.prefs.mk" 6.include "../../mk/bsd.prefs.mk"
7 7
8.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Darwin" 8.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Darwin"
9. include "../../mk/compiler.mk" 9. include "../../mk/compiler.mk"
10# GCC 3.x (at least 3.3.3 on NetBSD) fails to compile asm() call in 10# GCC 3.x (at least 3.3.3 on NetBSD) fails to compile asm() call in
11# cipher/rijndael.c:do_padlock() 11# cipher/rijndael.c:do_padlock()
12. if empty(CC_VERSION:Mgcc-3.*) 12. if empty(CC_VERSION:Mgcc-3.*)
13PKG_SUPPORTED_OPTIONS+= via-padlock 13PKG_SUPPORTED_OPTIONS+= via-padlock
14PKG_SUGGESTED_OPTIONS+= via-padlock 14PKG_SUGGESTED_OPTIONS+= via-padlock
15. endif 15. endif
16.endif 16.endif
17 17
18.include "../../mk/bsd.options.mk" 18.include "../../mk/bsd.options.mk"
19 19
20.if !empty(PKG_OPTIONS:Midea) 
21# Use of IDEA as crypto function. 
22LICENSE= idea-license 
23RESTRICTED= Commercial distribution is claimed to require a license. 
24NO_SRC_ON_CDROM= ${RESTRICTED} 
25NO_BIN_ON_CDROM= ${RESTRICTED} 
26 
27PATCH_SITES= http://www.kfwebs.com/ 
28PATCHFILES= libgcrypt-1.2.4-idea.diff.bz2 
29PATCH_DIST_STRIP= -p1 
30 
31SUBST_CLASSES+= idea 
32SUBST_STAGE.idea= post-patch 
33SUBST_FILES.idea= cipher/idea.c 
34SUBST_SED.idea= -e 's,^.*SIZEOF_UNSIGNED_LONG.*$$,,' 
35 
36USE_TOOLS+= autoreconf 
37 
38pre-configure: 
39 cd ${WRKSRC} && autoreconf -i -v 
40.endif 
41 
42.if empty(PKG_OPTIONS:Mvia-padlock) 20.if empty(PKG_OPTIONS:Mvia-padlock)
43# Disable VIA Padlock support. 21# Disable VIA Padlock support.
44CONFIGURE_ARGS+= --disable-padlock-support 22CONFIGURE_ARGS+= --disable-padlock-support
45.endif 23.endif