summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2008-03-24 16:39:13 +0000
committerespie <espie@openbsd.org>2008-03-24 16:39:13 +0000
commit8124fbe02dabd91fe0a6b174fb96c8d4652a47ac (patch)
treeca03f040762b137fb9592d27e2283d84e3de899e
parentmsg_controllen has to be CMSG_SPACE so that the kernel can account for (diff)
downloadwireguard-openbsd-8124fbe02dabd91fe0a6b174fb96c8d4652a47ac.tar.xz
wireguard-openbsd-8124fbe02dabd91fe0a6b174fb96c8d4652a47ac.zip
check for emptiness of SRCS, since make warns otherwise.
okay deraadt@
-rw-r--r--share/mk/bsd.dep.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk
index 55cce19552b..6488a136a54 100644
--- a/share/mk/bsd.dep.mk
+++ b/share/mk/bsd.dep.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.dep.mk,v 1.7 2007/11/03 15:14:32 espie Exp $
+# $OpenBSD: bsd.dep.mk,v 1.8 2008/03/24 16:39:13 espie Exp $
# $NetBSD: bsd.dep.mk,v 1.12 1995/09/27 01:15:09 christos Exp $
# some of the rules involve .h sources, so remove them from mkdep line
@@ -7,7 +7,7 @@ depend: beforedepend .depend subdirdepend afterdepend
.ORDER: beforedepend .depend subdirdepend afterdepend
subdirdepend: _SUBDIRUSE
-. if defined(SRCS)
+. if defined(SRCS) && !empty(SRCS)
.depend: ${SRCS} ${_LEXINTM} ${_YACCINTM}
@rm -f .depend
@files="${.ALLSRC:M*.s} ${.ALLSRC:M*.S}"; \