Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2021 00:24:50 GMT
From:      Jessica Clarke <jrtc27@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8f7eb330f7a4 - main - Makefile.inc1: Bootstrap libcrypt on non-FreeBSD for libroken
Message-ID:  <202112070024.1B70Oov8020897@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=8f7eb330f7a4c7454d7eb6586a5f86091321382b

commit 8f7eb330f7a4c7454d7eb6586a5f86091321382b
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2021-12-06 23:00:31 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2021-12-07 00:24:20 +0000

    Makefile.inc1: Bootstrap libcrypt on non-FreeBSD for libroken
    
    After f0a6ab51e6da, we need libroken's dependencies to be present; in
    particular, libcrypt is not present on macOS, and so needs to be
    bootstrapped. We include this on Linux too for consistency and to avoid
    future compatibility issues, even if strictly unnecessary currently.
    
    Fixes:          f0a6ab51e6da ("src.libnames.mk: Include dependencies when bootstrapping from non-FreeBSD"
    MFC after:      1 week
---
 Makefile.inc1 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile.inc1 b/Makefile.inc1
index 2f425a6552e9..2f7d98341793 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2473,6 +2473,10 @@ ${_bt}-usr.bin/grep: ${_bt}-lib/libbz2
 # libdwarf depends on libz
 _other_bootstrap_tools+=lib/libz
 ${_bt}-lib/libdwarf: ${_bt}-lib/libz
+
+# libroken depends on libcrypt
+_other_bootstrap_tools+=lib/libcrypt
+${_bt}-lib/libroken: ${_bt}-lib/libcrypt
 .else
 # All tools in _basic_bootstrap_tools have the same name as the subdirectory
 # so we can use :T to get the name of the symlinks that we need to create.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112070024.1B70Oov8020897>