summaryrefslogtreecommitdiff
path: root/devel/libatomic_ops
diff options
context:
space:
mode:
authorbjs <bjs>2008-10-25 00:36:10 +0000
committerbjs <bjs>2008-10-25 00:36:10 +0000
commitc7fcbf1fc28479270e9e5339c19471de43866824 (patch)
tree7eb5cbec927bfdd4a0a53ea1fb8045689a0da166 /devel/libatomic_ops
parent9bc71edbddcb5920c5a5fe21ddecff1ba965c26a (diff)
downloadpkgsrc-c7fcbf1fc28479270e9e5339c19471de43866824.tar.gz
Add buildlink3.mk.
Diffstat (limited to 'devel/libatomic_ops')
-rw-r--r--devel/libatomic_ops/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/libatomic_ops/buildlink3.mk b/devel/libatomic_ops/buildlink3.mk
new file mode 100644
index 00000000000..d3a46e061c6
--- /dev/null
+++ b/devel/libatomic_ops/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2008/10/25 00:36:10 bjs Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBATOMIC_OPS_BUILDLINK3_MK:= ${LIBATOMIC_OPS_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libatomic_ops
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibatomic_ops}
+BUILDLINK_PACKAGES+= libatomic_ops
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libatomic_ops
+
+.if ${LIBATOMIC_OPS_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libatomic_ops+= libatomic_ops>=20081024
+BUILDLINK_PKGSRCDIR.libatomic_ops?= ../../devel/libatomic_ops
+.endif # LIBATOMIC_OPS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}