summaryrefslogtreecommitdiff
path: root/x11/libXfixes/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libXfixes/buildlink3.mk')
-rw-r--r--x11/libXfixes/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/x11/libXfixes/buildlink3.mk b/x11/libXfixes/buildlink3.mk
index 9f1781996e7..80a1ec29f84 100644
--- a/x11/libXfixes/buildlink3.mk
+++ b/x11/libXfixes/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/11/05 16:55:28 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2009/03/20 19:25:44 joerg Exp $
.include "../../mk/bsd.fast.prefs.mk"
@@ -6,25 +6,18 @@
.include "../../x11/Xfixes/buildlink3.mk"
.else
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-LIBXFIXES_BUILDLINK3_MK:= ${LIBXFIXES_BUILDLINK3_MK}+
+BUILDLINK_TREE+= libXfixes
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= libXfixes
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NlibXfixes}
-BUILDLINK_PACKAGES+= libXfixes
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libXfixes
+.if !defined(LIBXFIXES_BUILDLINK3_MK)
+LIBXFIXES_BUILDLINK3_MK:=
-.if ${LIBXFIXES_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libXfixes+= libXfixes>=4.0.1
BUILDLINK_PKGSRCDIR.libXfixes?= ../../x11/libXfixes
-.endif # LIBXFIXES_BUILDLINK3_MK
.include "../../x11/fixesproto/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
+.endif # LIBXFIXES_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -libXfixes
.endif