summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorhgutch <hgutch@NetBSD.org>2023-05-27 20:51:22 +0000
committerhgutch <hgutch@NetBSD.org>2023-05-27 20:51:22 +0000
commitb0fa68b8add36f6cc76c89590529718f9eedee37 (patch)
treea7965e6ec2f1bc207c1f877ddfcabcd2ab73aacc /crypto
parent2e706bb6ab26c6bd3b0a98323614d02d8ed1f3d8 (diff)
Explicitly run openssl's "gen" script in a shell
The script has permissions 755 in the repo but ends up with permissions 644 in the source sets, therefore we cannot invoke it simply as path/to/gen .
Diffstat (limited to 'crypto')
-rw-r--r--crypto/external/bsd/openssl/lib/libcrypto/Makefile4
-rw-r--r--crypto/external/bsd/openssl/lib/libssl/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/crypto/external/bsd/openssl/lib/libcrypto/Makefile b/crypto/external/bsd/openssl/lib/libcrypto/Makefile
index 0a6390e24b3..192c269139e 100644
--- a/crypto/external/bsd/openssl/lib/libcrypto/Makefile
+++ b/crypto/external/bsd/openssl/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2023/05/25 19:12:06 riastradh Exp $
+# $NetBSD: Makefile,v 1.33 2023/05/27 20:51:22 hgutch Exp $
# RCSid:
# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
@@ -279,7 +279,7 @@ x509v3.h
.for i in ${GENH}
$i: $i.in
${_MKTARGET_CREATE}
- ${.CURDIR}/gen ${.ALLSRC} > ${.TARGET}
+ ${HOST_SH} ${.CURDIR}/gen ${.ALLSRC} > ${.TARGET}
.endfor
.include <bsd.lib.mk>
diff --git a/crypto/external/bsd/openssl/lib/libssl/Makefile b/crypto/external/bsd/openssl/lib/libssl/Makefile
index c06f50100e9..6f799f4db8d 100644
--- a/crypto/external/bsd/openssl/lib/libssl/Makefile
+++ b/crypto/external/bsd/openssl/lib/libssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2023/05/25 19:12:06 riastradh Exp $
+# $NetBSD: Makefile,v 1.18 2023/05/27 20:51:22 hgutch Exp $
# RCSid:
# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
@@ -58,7 +58,7 @@ ssl.h
.for i in ${GENH}
$i: $i.in
${_MKTARGET_CREATE}
- ${.CURDIR}/../libcrypto/gen ${.ALLSRC} > ${.TARGET}
+ ${HOST_SH} ${.CURDIR}/../libcrypto/gen ${.ALLSRC} > ${.TARGET}
.endfor
.include <bsd.lib.mk>