svn commit: r276318 - in head/lib/libc/tests: . hash

Garrett Cooper ngie at FreeBSD.org
Sat Dec 27 20:48:38 UTC 2014


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 <zaphod at berentweb.com>

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
 


More information about the svn-src-all mailing list