diff options
author | ru <ru@FreeBSD.org> | 2002-04-07 14:58:12 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-04-07 14:58:12 +0000 |
commit | cb2e5376337475d49880af1d894ab4f92c4439cb (patch) | |
tree | 25bf0a8d8e75b21a659b649e56b2b3003dc176b2 /share/mk/bsd.lib.mk | |
parent | 385d4388dcfcfda839a506548952f773a6e3ff14 (diff) | |
download | FreeBSD-src-cb2e5376337475d49880af1d894ab4f92c4439cb.zip FreeBSD-src-cb2e5376337475d49880af1d894ab4f92c4439cb.tar.gz |
Fixed the nasty bug where .depend file that exists somewhere in
the .PATH (but not in the ${.OBJDIR}) would result in a leak of
the ${OBJS}: ${SRCS:M*.h} dependency hint.
Spotted by: fixing the broken gnu/usr.bin/cc/cc1obj build
MFC after: 1 day
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 0d75e84..692cb91 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -390,7 +390,7 @@ maninstall: .include <bsd.dep.mk> -.if !exists(${DEPENDFILE}) +.if !exists(${.OBJDIR}/${DEPENDFILE}) ${OBJS} ${STATICOBJS} ${POBJS} ${SOBJS}: ${SRCS:M*.h} .endif |