Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2014 20:48:37 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276318 - in head/lib/libc/tests: . hash
Message-ID:  <201412272048.sBRKmbA8094633@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412272048.sBRKmbA8094633>