Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libkrb Detect if MIT Kerberos IV headers are present on ...
details: https://anonhg.NetBSD.org/src/rev/4ebdaa044919
branches: trunk
changeset: 488169:4ebdaa044919
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Jun 19 23:46:07 2000 +0000
description:
Detect if MIT Kerberos IV headers are present on the system (by looking
in ${DESTDIR}/usr/include/kerberosIV/mit-copyright.h) and if so, tell
the operator to remove the contents of that directory in an error
message and abort.
diffstat:
lib/libkrb/Makefile | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 95a540c01fd0 -r 4ebdaa044919 lib/libkrb/Makefile
--- a/lib/libkrb/Makefile Mon Jun 19 23:46:06 2000 +0000
+++ b/lib/libkrb/Makefile Mon Jun 19 23:46:07 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/06/19 18:27:14 thorpej Exp $
+# $NetBSD: Makefile,v 1.5 2000/06/19 23:46:07 thorpej Exp $
DIST= ${.CURDIR}/../../crypto/dist
.PATH: ${DIST}/krb4/lib/krb
.PATH: ${DIST}/krb4/doc
@@ -120,5 +120,15 @@
TEXINFO= kth-krb.texi
INFOFLAGS= -I${DIST}/krb4/doc
+# Prevent collisions with old MIT Kerberos includes -- require manual
+# intervention of the operator.
+.BEGIN:
+.ifmake includes
+ @if [ -f ${DESTDIR}${INCSDIR}/mit-copyright.h ]; then \
+ echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
+ false; \
+ fi
+.endif
+
.include <bsd.lib.mk>
.include <bsd.info.mk>
Home |
Main Index |
Thread Index |
Old Index