Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/heimdal/libexec/kadmind re-fix the previ...



details:   https://anonhg.NetBSD.org/src/rev/59dff1170fbb
branches:  trunk
changeset: 376484:59dff1170fbb
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Jun 20 07:17:11 2023 +0000

description:
re-fix the previous - i had only fixed one case, not the general one.

guard the .BEGIN: rule with:

   .if !make(clean) && !make(cleandir) && !make(distclean) && !make(obj)

so that it doesn't trigger in cases where we don't expect the objdir
to exist already, or we don't want to be adding things while we're
cleaning them out.

diffstat:

 crypto/external/bsd/heimdal/libexec/kadmind/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f7082269b716 -r 59dff1170fbb crypto/external/bsd/heimdal/libexec/kadmind/Makefile
--- a/crypto/external/bsd/heimdal/libexec/kadmind/Makefile      Tue Jun 20 05:06:04 2023 +0000
+++ b/crypto/external/bsd/heimdal/libexec/kadmind/Makefile      Tue Jun 20 07:17:11 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2023/06/20 05:06:04 mrg Exp $
+# $NetBSD: Makefile,v 1.5 2023/06/20 07:17:11 mrg Exp $
 
 .include <bsd.own.mk>
 .include <${.CURDIR}/../../Makefile.inc>
@@ -27,5 +27,7 @@ DPADD+= ${LIBGSSAPI} ${LIBKADM5SRV} ${LI
 
 # XXX
 CLEANFILES+=hcrypto
-${OBJS}:
+.if !make(clean) && !make(cleandir) && !make(distclean) && !make(obj)
+.BEGIN:
        @ln -sf ${HEIMDIST}/lib/hcrypto .
+.endif



Home | Main Index | Thread Index | Old Index