Module Name:    src
Committed By:   mrg
Date:           Tue Jun 20 07:17:11 UTC 2023

Modified Files:
        src/crypto/external/bsd/heimdal/libexec/kadmind: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
    src/crypto/external/bsd/heimdal/libexec/kadmind/Makefile

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

Modified files:

Index: src/crypto/external/bsd/heimdal/libexec/kadmind/Makefile
diff -u src/crypto/external/bsd/heimdal/libexec/kadmind/Makefile:1.4 src/crypto/external/bsd/heimdal/libexec/kadmind/Makefile:1.5
--- src/crypto/external/bsd/heimdal/libexec/kadmind/Makefile:1.4	Tue Jun 20 05:06:04 2023
+++ src/crypto/external/bsd/heimdal/libexec/kadmind/Makefile	Tue Jun 20 07:17:11 2023
@@ -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

Reply via email to