diff options
| author | deraadt <> | 2020-06-09 16:53:53 +0000 |
|---|---|---|
| committer | deraadt <> | 2020-06-09 16:53:53 +0000 |
| commit | baa0c5c5165ab0d82f8bf0f78e00dcc807069782 (patch) | |
| tree | b353b4fe4d11a06cdc4a19b8b015f4d99fdc9355 /src/lib/libc | |
| parent | 2d835ca8318d9ce502e9fd2dced3ef440decb39d (diff) | |
| download | openbsd-baa0c5c5165ab0d82f8bf0f78e00dcc807069782.tar.gz openbsd-baa0c5c5165ab0d82f8bf0f78e00dcc807069782.tar.bz2 openbsd-baa0c5c5165ab0d82f8bf0f78e00dcc807069782.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 '')
| -rw-r--r-- | src/lib/libcrypto/Makefile | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 8970ca3918..9207b93f32 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.41 2020/06/05 15:28:33 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.42 2020/06/09 16:53:52 deraadt Exp $ |
| 2 | 2 | ||
| 3 | LIB= crypto | 3 | LIB= crypto |
| 4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
| @@ -408,16 +408,6 @@ HDRS_GEN=\ | |||
| 408 | 408 | ||
| 409 | prereq: obj_mac.h | 409 | prereq: obj_mac.h |
| 410 | 410 | ||
| 411 | check_includes: prereq | ||
| 412 | @cd ${.CURDIR}; for i in $(HDRS) $(HDRS_GEN); do \ | ||
| 413 | j="cmp -s $$i ${DESTDIR}/usr/include/openssl/`basename $$i` || \ | ||
| 414 | (echo \"`basename $$i` differs from installed version; \" \ | ||
| 415 | \"did you forget 'make includes'?\" && false)"; \ | ||
| 416 | eval "$$j"; \ | ||
| 417 | done; | ||
| 418 | |||
| 419 | all: check_includes | ||
| 420 | |||
| 421 | includes: prereq | 411 | includes: prereq |
| 422 | @test -d ${DESTDIR}/usr/include/openssl || \ | 412 | @test -d ${DESTDIR}/usr/include/openssl || \ |
| 423 | mkdir ${DESTDIR}/usr/include/openssl | 413 | mkdir ${DESTDIR}/usr/include/openssl |
