Author: ngie
Date: Sat Dec 27 20:48:36 2014
New Revision: 276318
URL: https://svnweb.freebsd.org/changeset/base/276318

Log:
  Build/install lib/libc/tests/hash/t_sha2 if MK_OPENSSL == yes
  
  Reported by: Beeblebrox <[email protected]>

Modified:
  head/lib/libc/tests/Makefile
  head/lib/libc/tests/hash/Makefile

Modified: head/lib/libc/tests/Makefile
==============================================================================

Modified: head/lib/libc/tests/hash/Makefile
==============================================================================
--- head/lib/libc/tests/hash/Makefile   Sat Dec 27 20:33:04 2014        
(r276317)
+++ head/lib/libc/tests/hash/Makefile   Sat Dec 27 20:48:36 2014        
(r276318)
@@ -1,8 +1,14 @@
 # $FreeBSD$
 
+.include <src.opts.mk>
+
 TESTSDIR=      ${TESTSBASE}/lib/libc/hash
 
-NETBSD_ATF_TESTS_C=    sha2_test
+NETBSD_ATF_TESTS_C=
+
+.if ${MK_OPENSSL} != "no"
+NETBSD_ATF_TESTS_C+=   sha2_test
+.endif
 
 NETBSD_ATF_TESTS_SH=   hash_test
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to