summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-25 14:52:35 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-25 14:52:35 +0000
commit73f659183a2529dde385ba1054698559171d6a0d (patch)
tree7cef29d90c8a13c10805941c4d060832851ea706
parent3d181ecda67c9ab9633a36011ba4b76b3d1f2a7c (diff)
Hooks needed by modular X builds. ok espie@ dim@.
-rw-r--r--share/mk/Makefile5
-rw-r--r--share/mk/bsd.xorg.mk5
2 files changed, 8 insertions, 2 deletions
diff --git a/share/mk/Makefile b/share/mk/Makefile
index db690f68cf3..615b2febdab 100644
--- a/share/mk/Makefile
+++ b/share/mk/Makefile
@@ -1,9 +1,10 @@
-# $OpenBSD: Makefile,v 1.8 2002/01/01 23:40:28 provos Exp $
+# $OpenBSD: Makefile,v 1.9 2006/11/25 14:52:34 matthieu Exp $
# $NetBSD: Makefile,v 1.12 1995/10/22 00:45:53 christos Exp $
FILES= bsd.README bsd.doc.mk bsd.dep.mk bsd.lib.mk bsd.man.mk bsd.nls.mk \
bsd.obj.mk bsd.own.mk bsd.port.mk bsd.port.subdir.mk bsd.prog.mk \
- bsd.regress.mk bsd.subdir.mk bsd.sys.mk sys.mk bsd.lkm.mk
+ bsd.regress.mk bsd.subdir.mk bsd.sys.mk sys.mk bsd.lkm.mk \
+ bsd.xorg.mk
NOOBJ= noobj
install:
diff --git a/share/mk/bsd.xorg.mk b/share/mk/bsd.xorg.mk
new file mode 100644
index 00000000000..2ae6ee405a0
--- /dev/null
+++ b/share/mk/bsd.xorg.mk
@@ -0,0 +1,5 @@
+.include <bsd.own.mk>
+XORG_PREFIX?= /usr/X11R6
+.if exists(${XORG_PREFIX}/share/mk/bsd.xorg.mk)
+. include "${XORG_PREFIX}/share/mk/bsd.xorg.mk"
+.endif