summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-08 07:35:05 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-08 07:35:05 +0000
commit2cd07d8b2eac18717b0d90cec851a8bc329ab490 (patch)
tree8c7f56d4efef03e7abea194f5c99af224a82c9ad
parentdc0a7ff96a2a06918b84e73f75e30e7606436826 (diff)
Include mk files specified in EXTRA_SYS_MK_FILES. Needed for the ports
mechanism. This was the least intrusive way we found to solve the problem of getting ports' Makefiles have bsd.own.mk included.
-rw-r--r--share/mk/sys.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index c5626cc3e69..236f9bcaaa3 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -1,7 +1,13 @@
-# $OpenBSD: sys.mk,v 1.9 1996/11/24 02:47:42 niklas Exp $
+# $OpenBSD: sys.mk,v 1.10 1997/01/08 07:35:04 niklas Exp $
# $NetBSD: sys.mk,v 1.27 1996/04/10 05:47:19 mycroft Exp $
# @(#)sys.mk 5.11 (Berkeley) 3/13/91
+.if defined(EXTRA_SYS_MK_INCLUDES)
+.for __SYS_MK_INCLUDE in ${EXTRA_SYS_MK_INCLUDES}
+.include ${__SYS_MK_INCLUDE}
+.endfor
+.endif
+
unix= We run OpenBSD.
.SUFFIXES: .out .a .ln .o .c .cc .C .F .f .r .y .l .s .S .cl .p .h .sh .m4