From 61e34cfa225b4660b4f79d4b6ced59747c57ceff Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 5 Aug 2002 16:57:43 +0000 Subject: [PATCH] Stop eating all process memory if either of ${.CURDIR}/../kerberosIV or ${.CURDIR}/../kerberos5 does not exist. Spotted by: Alexandr Listopad MFC after: 3 days --- release/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/release/Makefile b/release/Makefile index 4e89b4eb0ee9..638b97ef1863 100644 --- a/release/Makefile +++ b/release/Makefile @@ -194,8 +194,12 @@ BIGBOOTLABEL= minimum2 ZIPNSPLIT= gzip --no-name -9 -c | split -b 240640 - # Things that need to be recompiled with Kerberos support. +.if exists(${.CURDIR}/../kerberosIV) && exists(${.CURDIR}/../crypto) && !defined(NOKERBEROS) K4PROGS!= cd ${.CURDIR}/../kerberosIV; ${MAKE} -V KPROGS +.endif +.if exists(${.CURDIR}/../kerberos5) && exists(${.CURDIR}/../crypto) && !defined(NOKERBEROS) K5PROGS!= cd ${.CURDIR}/../kerberos5; ${MAKE} -V KPROGS +.endif # Things that need to be compiled without crypto support in releases .if !defined(FIXCRYPTO)