Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/crypto/libcrypto Fix patented algo compilation



details:   https://anonhg.NetBSD.org/src/rev/38e4fd2de31b
branches:  trunk
changeset: 765994:38e4fd2de31b
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jun 12 16:16:26 2011 +0000

description:
Fix patented algo compilation

diffstat:

 tests/crypto/libcrypto/idea/Makefile |  4 ++--
 tests/crypto/libcrypto/mdc2/Makefile |  5 +----
 tests/crypto/libcrypto/rc5/Makefile  |  4 ++--
 3 files changed, 5 insertions(+), 8 deletions(-)

diffs (42 lines):

diff -r 454506d38100 -r 38e4fd2de31b tests/crypto/libcrypto/idea/Makefile
--- a/tests/crypto/libcrypto/idea/Makefile      Sun Jun 12 16:15:42 2011 +0000
+++ b/tests/crypto/libcrypto/idea/Makefile      Sun Jun 12 16:16:26 2011 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2009/02/13 20:58:15 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2011/06/12 16:16:26 christos Exp $
 
 HELPER_NAME=   ideatest
 HELPER_DIR=    idea
 
-LDADD+=                -lcrypto_idea
+LDADD+=                -Wl,--no-fatal-warnings
 
 .include <bsd.init.mk>
diff -r 454506d38100 -r 38e4fd2de31b tests/crypto/libcrypto/mdc2/Makefile
--- a/tests/crypto/libcrypto/mdc2/Makefile      Sun Jun 12 16:15:42 2011 +0000
+++ b/tests/crypto/libcrypto/mdc2/Makefile      Sun Jun 12 16:16:26 2011 +0000
@@ -1,9 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2009/02/13 20:58:15 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2011/06/12 16:16:26 christos Exp $
 
 HELPER_NAME=   mdc2test
 HELPER_DIR=    mdc2
 
-LDADD+=                -lcrypto_mdc2
-DPADD+=                ${LIBCRYPTO_MDC2}
-
 .include <bsd.init.mk>
diff -r 454506d38100 -r 38e4fd2de31b tests/crypto/libcrypto/rc5/Makefile
--- a/tests/crypto/libcrypto/rc5/Makefile       Sun Jun 12 16:15:42 2011 +0000
+++ b/tests/crypto/libcrypto/rc5/Makefile       Sun Jun 12 16:16:26 2011 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2009/02/13 20:58:15 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2011/06/12 16:16:27 christos Exp $
 
 HELPER_NAME=   rc5test
 HELPER_DIR=    rc5
 
-LDADD+=                -lcrypto_rc5
+LDADD+=                -Wl,--no-fatal-warnings
 
 .include <bsd.init.mk>



Home | Main Index | Thread Index | Old Index