Module Name:    src
Committed By:   christos
Date:           Wed Feb 13 23:19:14 UTC 2013

Modified Files:
        src/usr.bin/passwd: Makefile

Log Message:
Keep the built-in support for passwd -k, but don't make the kpasswd link or
install the kpasswd man page since these are provided by heimdal. I ifdef'ed
them so that the code to install them is still with the Makefile.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/passwd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/passwd/Makefile
diff -u src/usr.bin/passwd/Makefile:1.43 src/usr.bin/passwd/Makefile:1.44
--- src/usr.bin/passwd/Makefile:1.43	Mon Feb 11 18:11:48 2013
+++ src/usr.bin/passwd/Makefile	Wed Feb 13 18:19:14 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.43 2013/02/11 23:11:48 christos Exp $
+#	$NetBSD: Makefile,v 1.44 2013/02/13 23:19:14 christos Exp $
 #	from: @(#)Makefile    8.3 (Berkeley) 4/2/94
 
 .include <bsd.own.mk>
@@ -25,13 +25,13 @@ LDADD+= -lcrypt -lutil
 BINOWN=	root
 BINMODE=4555
 
-.ifdef OVERRIDE_HEIMDAL_KPASSWD
 .if (${USE_KERBEROS} != "no")
 CPPFLAGS+= -DKERBEROS5
 SRCS+=	krb5_passwd.c
 
 DPADD+=	${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} ${LIBCRYPT}
 LDADD+=	-lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lcrypt
+.ifdef OVERRIDE_HEIMDAL_KPASSWD
 LINKS+=	${BINDIR}/passwd ${BINDIR}/kpasswd
 MAN+=	kpasswd.1
 .endif

Reply via email to