diff options
author | deraadt <> | 2020-06-09 16:53:53 +0000 |
---|---|---|
committer | deraadt <> | 2020-06-09 16:53:53 +0000 |
commit | ef92d70f970b923bf1a2daaa37c8a2b9b3729f6d (patch) | |
tree | b353b4fe4d11a06cdc4a19b8b015f4d99fdc9355 /src/lib/libssl | |
parent | 5c5463afc09ad28dc5717f3c90e5fb9e9f4ffa60 (diff) | |
download | openbsd-ef92d70f970b923bf1a2daaa37c8a2b9b3729f6d.tar.gz openbsd-ef92d70f970b923bf1a2daaa37c8a2b9b3729f6d.tar.bz2 openbsd-ef92d70f970b923bf1a2daaa37c8a2b9b3729f6d.zip |
The check_includes step is incorrect dependency management model for
how our tree gets built. If this was done in all the libraries (imagine
sys/dev), it would disrupt the development process hugely. So it should
not be done here either. use 'make includes' by hand instead.
Diffstat (limited to 'src/lib/libssl')
-rw-r--r-- | src/lib/libssl/Makefile | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile index d88e1e9a73..c162e84b77 100644 --- a/src/lib/libssl/Makefile +++ b/src/lib/libssl/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.65 2020/05/10 14:22:51 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.66 2020/06/09 16:53:53 deraadt Exp $ |
2 | 2 | ||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> |
4 | .ifndef NOMAN | 4 | .ifndef NOMAN |
@@ -86,16 +86,6 @@ HDRS= dtls1.h srtp.h ssl.h ssl2.h ssl23.h ssl3.h tls1.h | |||
86 | 86 | ||
87 | .PATH: ${.CURDIR} | 87 | .PATH: ${.CURDIR} |
88 | 88 | ||
89 | check_includes: | ||
90 | @cd ${.CURDIR}; for i in $(HDRS); do \ | ||
91 | j="cmp -s $$i ${DESTDIR}/usr/include/openssl/`basename $$i` || \ | ||
92 | (echo \"`basename $$i` differs from installed version; \" \ | ||
93 | \"did you forget 'make includes'?\" && false)"; \ | ||
94 | eval "$$j"; \ | ||
95 | done; | ||
96 | |||
97 | all: check_includes | ||
98 | |||
99 | includes: | 89 | includes: |
100 | @test -d ${DESTDIR}/usr/include/openssl || \ | 90 | @test -d ${DESTDIR}/usr/include/openssl || \ |
101 | mkdir ${DESTDIR}/usr/include/openssl | 91 | mkdir ${DESTDIR}/usr/include/openssl |