summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/libXres/buildlink3.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/libXres/buildlink3.mk b/x11/libXres/buildlink3.mk
index 9d630387f97..1fd73c6f312 100644
--- a/x11/libXres/buildlink3.mk
+++ b/x11/libXres/buildlink3.mk
@@ -1,4 +1,10 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/03 22:05:26 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2007/01/14 11:04:27 joerg Exp $
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if ${X11_TYPE} != "modular"
+.include "../../x11/Xrender/buildlink3.mk"
+.else
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBXRES_BUILDLINK3_MK:= ${LIBXRES_BUILDLINK3_MK}+
@@ -21,3 +27,5 @@ BUILDLINK_PKGSRCDIR.libXres?= ../../x11/libXres
.include "../../x11/xproto/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+
+.endif