summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrin <rin@NetBSD.org>2023-07-08 23:41:27 +0000
committerrin <rin@NetBSD.org>2023-07-08 23:41:27 +0000
commitb02f4634a1d30688984c5db2ec3e5f30943efbab (patch)
treed4c8c8d0b776528b8ba7c2bd22bf552d48dc7a70
parentd731d091e3765a540a7260d6d7f07f517d16f37b (diff)
openssl.old: Fix build with HAVE_OPENSSL == 11.
Introduce Makefile.subdir in the same manner as new openssl.
-rw-r--r--crypto/external/bsd/openssl.old/lib/Makefile7
-rw-r--r--crypto/external/bsd/openssl.old/lib/Makefile.subdir5
2 files changed, 7 insertions, 5 deletions
diff --git a/crypto/external/bsd/openssl.old/lib/Makefile b/crypto/external/bsd/openssl.old/lib/Makefile
index f370b8b7265..1c094046a16 100644
--- a/crypto/external/bsd/openssl.old/lib/Makefile
+++ b/crypto/external/bsd/openssl.old/lib/Makefile
@@ -1,10 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.2 2023/04/18 14:19:03 christos Exp $
+# $NetBSD: Makefile,v 1.2 2023/07/08 23:41:27 rin Exp $
.include "bsd.own.mk"
-# OpenSSL libraries.
-SUBDIR= libcrypto libcryptotest libdes
-
-SUBDIR+= .WAIT libssl # depends on libcrypto
+.include "Makefile.subdir"
.include <bsd.subdir.mk>
diff --git a/crypto/external/bsd/openssl.old/lib/Makefile.subdir b/crypto/external/bsd/openssl.old/lib/Makefile.subdir
new file mode 100644
index 00000000000..44dcae343f1
--- /dev/null
+++ b/crypto/external/bsd/openssl.old/lib/Makefile.subdir
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile.subdir,v 1.1 2023/07/08 23:41:27 rin Exp $
+
+# OpenSSL libraries.
+SUBDIR+= ${OSSL}libcrypto ${OSSL}libcryptotest ${OSSL}libdes
+SUBDIR+= .WAIT ${OSSL}libssl # depends on libcrypto