Add a test to see if the secure directory exists, before deciding which

crypt library should be used when building bootstrap-libraries. This
make it work on machines that don't have the secure directory.
Thanks to Paul Allenby <pallenby@mikom.csir.co.za> for bringing it to
my attention.
This commit is contained in:
John Hay 1998-05-30 07:32:28 +00:00
parent b59a04d2af
commit f40a876b02
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36470

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.188 1998/05/29 05:14:08 jkh Exp $
# $Id: Makefile,v 1.189 1998/05/29 05:15:47 jkh Exp $
#
# While porting to the another architecture include the bootstrap instead
# of the normal build.
@ -634,7 +634,7 @@ _csu=lib/csu/${MACHINE}
# Build the "default" libcrypt first since it sets symlinks for static
# binaries such as /sbin/init. lib/Makefile builds the other if needed.
.if !defined(NOSECURE) && !defined(NOCRYPT)
.if exists(secure) && !defined(NOSECURE) && !defined(NOCRYPT)
_libcrypt= secure/lib/libcrypt
.else
_libcrypt= lib/libcrypt