Module Name: src
Committed By: christos
Date: Thu Feb 8 23:41:26 UTC 2018
Modified Files:
src/tests/crypto/libcrypto: Makefile.inc
Log Message:
include the right test directory for the right openssl version
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/crypto/libcrypto/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/crypto/libcrypto/Makefile.inc
diff -u src/tests/crypto/libcrypto/Makefile.inc:1.7 src/tests/crypto/libcrypto/Makefile.inc:1.8
--- src/tests/crypto/libcrypto/Makefile.inc:1.7 Thu Feb 8 16:59:10 2018
+++ src/tests/crypto/libcrypto/Makefile.inc Thu Feb 8 18:41:26 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.7 2018/02/08 21:59:10 christos Exp $
+# $NetBSD: Makefile.inc,v 1.8 2018/02/08 23:41:26 christos Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
@@ -24,7 +24,11 @@ CPPFLAGS+= -I${OPENSSLSRC}/include -I${O
CPPFLAGS+= -I${OPENSSLSRC}/crypto/include
CRYPTODIST= ${NETBSDSRCDIR}/crypto
.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
-.PATH: ${OPENSSLSRC}/test ${OPENSSLSRC}/crypto/${HELPER_DIR}
+.if ${HAVE_OPENSSL} != 10
+.PATH: ${OPENSSLSRC}/test
+.else
+.PATH: ${OPENSSLSRC}/crypto/${HELPER_DIR}
+.endif
.include <bsd.test.mk>
.include <bsd.prog.mk>