summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1997-01-08 07:35:04 +0000
committerniklas <niklas@openbsd.org>1997-01-08 07:35:04 +0000
commit388d9ce048fdb879c26e5de57e8ac017adec7e18 (patch)
treee317d2da6843f7e796d33cfd5f439708e5f5b556
parentnote elvis born (diff)
downloadwireguard-openbsd-388d9ce048fdb879c26e5de57e8ac017adec7e18.tar.xz
wireguard-openbsd-388d9ce048fdb879c26e5de57e8ac017adec7e18.zip
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