summaryrefslogtreecommitdiff
path: root/graphics/lib3ds/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/lib3ds/buildlink3.mk')
-rw-r--r--graphics/lib3ds/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/graphics/lib3ds/buildlink3.mk b/graphics/lib3ds/buildlink3.mk
index 8136a910c18..a8832880390 100644
--- a/graphics/lib3ds/buildlink3.mk
+++ b/graphics/lib3ds/buildlink3.mk
@@ -1,22 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:52 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2009/03/20 19:24:41 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-LIB3DS_BUILDLINK3_MK:= ${LIB3DS_BUILDLINK3_MK}+
+BUILDLINK_TREE+= lib3ds
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= lib3ds
-.endif
+.if !defined(LIB3DS_BUILDLINK3_MK)
+LIB3DS_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlib3ds}
-BUILDLINK_PACKAGES+= lib3ds
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lib3ds
-
-.if !empty(LIB3DS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lib3ds+= lib3ds>=1.2.0nb2
BUILDLINK_ABI_DEPENDS.lib3ds?= lib3ds>=1.2.0nb4
BUILDLINK_PKGSRCDIR.lib3ds?= ../../graphics/lib3ds
-.endif # LIB3DS_BUILDLINK3_MK
.include "../../graphics/Mesa/buildlink3.mk"
+.endif # LIB3DS_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -lib3ds