svn commit: r277442 - stable/10/lib/libc/tests/hash

Garrett Cooper ngie at FreeBSD.org
Tue Jan 20 21:46:05 UTC 2015


Author: ngie
Date: Tue Jan 20 21:46:04 2015
New Revision: 277442
URL: https://svnweb.freebsd.org/changeset/base/277442

Log:
  MFC r276318:
  
  r276318 (by ngie):
  
    Build/install lib/libc/tests/hash/t_sha2 if MK_OPENSSL == yes
  
    Reported by: Beeblebrox <zaphod at berentweb.com>

Modified:
  stable/10/lib/libc/tests/hash/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/tests/hash/Makefile
==============================================================================
--- stable/10/lib/libc/tests/hash/Makefile	Tue Jan 20 21:42:40 2015	(r277441)
+++ stable/10/lib/libc/tests/hash/Makefile	Tue Jan 20 21:46:04 2015	(r277442)
@@ -1,8 +1,14 @@
 # $FreeBSD$
 
+.include <bsd.own.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-stable-10 mailing list