diff options
author | jhay <jhay@FreeBSD.org> | 1998-05-30 07:32:28 +0000 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 1998-05-30 07:32:28 +0000 |
commit | 7f2993c7feeb596eb39a482f15e7f8653a33fd00 (patch) | |
tree | a6132a67b7d8dc5bc0d1978642e9d8fc8983c6f6 | |
parent | 290b49caf159b858efb9203269ca01667c54d614 (diff) | |
download | FreeBSD-src-7f2993c7feeb596eb39a482f15e7f8653a33fd00.zip FreeBSD-src-7f2993c7feeb596eb39a482f15e7f8653a33fd00.tar.gz |
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.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |