summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2023-06-20 07:17:11 +0000
committermrg <mrg@NetBSD.org>2023-06-20 07:17:11 +0000
commit6606cc9b76cfe41da92421bd337dbdf586704161 (patch)
tree6355d37dca3f6681a0b6fa3fc7e38cebaa1f0a94 /crypto
parent8bc68caeb662ad646d01c390c95a1042acc394c6 (diff)
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 (limited to 'crypto')
-rw-r--r--crypto/external/bsd/heimdal/libexec/kadmind/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/external/bsd/heimdal/libexec/kadmind/Makefile b/crypto/external/bsd/heimdal/libexec/kadmind/Makefile
index 60904488142..98308c2c6b1 100644
--- a/crypto/external/bsd/heimdal/libexec/kadmind/Makefile
+++ b/crypto/external/bsd/heimdal/libexec/kadmind/Makefile
@@ -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} ${LIBHDB} ${LIBUTIL}
# XXX
CLEANFILES+=hcrypto
-${OBJS}:
+.if !make(clean) && !make(cleandir) && !make(distclean) && !make(obj)
+.BEGIN:
@ln -sf ${HEIMDIST}/lib/hcrypto .
+.endif