pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libatomic_ops Add buildlink3.mk.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4e3d8b4a1b8
branches:  trunk
changeset: 548910:b4e3d8b4a1b8
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Sat Oct 25 00:36:10 2008 +0000

description:
Add buildlink3.mk.

diffstat:

 devel/libatomic_ops/buildlink3.mk |  19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 07af0c8dc4ba -r b4e3d8b4a1b8 devel/libatomic_ops/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libatomic_ops/buildlink3.mk Sat Oct 25 00:36:10 2008 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index