summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>1998-05-30 07:32:28 +0000
committerjhay <jhay@FreeBSD.org>1998-05-30 07:32:28 +0000
commit7f2993c7feeb596eb39a482f15e7f8653a33fd00 (patch)
treea6132a67b7d8dc5bc0d1978642e9d8fc8983c6f6 /Makefile
parent290b49caf159b858efb9203269ca01667c54d614 (diff)
downloadFreeBSD-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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d23843c..5cb132b 100644
--- a/Makefile
+++ b/Makefile
@@ -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
OpenPOWER on IntegriCloud