Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2003 22:29:17 +0200
From:      Marius Strobl <marius@alchemy.franken.de>
To:        Mark Murray <markm@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src Makefile.inc1
Message-ID:  <20030511222917.A711@newtrinity.zeist.de>
In-Reply-To: <200305050844.h458ie5h046774@repoman.freebsd.org>; from markm@freebsd.org on Mon, May 05, 2003 at 01:44:40AM -0700
References:  <200305050844.h458ie5h046774@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 05, 2003 at 01:44:40AM -0700, Mark Murray wrote:
> markm       2003/05/05 01:44:40 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     .                    Makefile.inc1 
>   Log:
>   Negate the logic of MAKE_KERBEROS5, and replace it with NO_KERBEROS.
>   

There are two bogons left in Makefile.inc1 where it's not checked if
kerberos5 can be built (regarding dependency on OpenSSL and existence
of crypto and kerberos5 sources), see diff below.
It would be also fine if a comment to src/share/examples/etc/make.conf
could be added that NO_OPENSSL implies NO_KERBEROS.


Index: Makefile.inc1
===================================================================
RCS file: /usr/data/bsd/cvs/fbsd/src/Makefile.inc1,v
retrieving revision 1.356
diff -u -r1.356 Makefile.inc1
--- Makefile.inc1	5 May 2003 12:54:26 -0000	1.356
+++ Makefile.inc1	11 May 2003 19:55:16 -0000
@@ -693,7 +693,7 @@
 .endif
 
 .if exists(${.CURDIR}/kerberos5) && exists(${.CURDIR}/crypto) && \
-    !defined(NOCRYPT) && !defined(NO_KERBEROS)
+    !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(NO_KERBEROS)
 _libkrb5= kerberos5/lib/libroken kerberos5/lib/libvers \
     kerberos5/lib/libasn1 kerberos5/lib/libhdb kerberos5/lib/libsl
 .endif
@@ -780,7 +780,8 @@
 
 _generic_libs=	gnu/lib
 
-.if !defined(NOCRYPT) && !defined(NO_KERBEROS)
+.if exists(${.CURDIR}/kerberos5) && exists(${.CURDIR}/crypto) && \
+    !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(NO_KERBEROS)
 _prebuild_libs+=	kerberos5/lib/libasn1
 _prebuild_libs+=	kerberos5/lib/libgssapi
 _prebuild_libs+=	kerberos5/lib/libkrb5



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