summaryrefslogtreecommitdiff
path: root/x11/libXrandr/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libXrandr/buildlink3.mk')
-rw-r--r--x11/libXrandr/buildlink3.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/libXrandr/buildlink3.mk b/x11/libXrandr/buildlink3.mk
index ad8f1ecbd05..e08ca1bf2e9 100644
--- a/x11/libXrandr/buildlink3.mk
+++ b/x11/libXrandr/buildlink3.mk
@@ -1,4 +1,10 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/03 21:22:58 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2006/11/05 16:55:28 joerg Exp $
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if ${X11_TYPE} != "modular"
+.include "../../x11/Xrandr/buildlink3.mk"
+.else
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBXRANDR_BUILDLINK3_MK:= ${LIBXRANDR_BUILDLINK3_MK}+
@@ -21,3 +27,5 @@ BUILDLINK_PKGSRCDIR.libXrandr?= ../../x11/libXrandr
.include "../../x11/randrproto/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+
+.endif