summaryrefslogtreecommitdiff
path: root/devel/dlcompat
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-03 23:06:43 +0000
committerjlam <jlam>2004-01-03 23:06:43 +0000
commit0d6c711ce586532632e1ae1b985d86085faa4580 (patch)
tree7815453a8a5d5cc91288c15c8c52893726b1e2bc /devel/dlcompat
parent7c4feed9a8d4596547ef84ababb069e65e478323 (diff)
downloadpkgsrc-0d6c711ce586532632e1ae1b985d86085faa4580.tar.gz
Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
Diffstat (limited to 'devel/dlcompat')
-rw-r--r--devel/dlcompat/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/dlcompat/buildlink3.mk b/devel/dlcompat/buildlink3.mk
new file mode 100644
index 00000000000..704334f42bb
--- /dev/null
+++ b/devel/dlcompat/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+DLCOMPAT_BUILDLINK3_MK:= ${DLCOMPAT_BUILDLINK3_MK}+
+
+.if !empty(DLCOMPAT_BUILDLINK3_MK:M\+)
+BUILDLINK_DEPENDS.dlcompat?= dlcompat>=20020606
+BUILDLINK_PKGSRCDIR.dlcompat?= ../../devel/dlcompat
+.endif # DLCOMPAT_BUILDLINK3_MK
+
+.if !empty(BUILDLINK_DEPTH:M\+)
+BUILDLINK_DEPENDS+= dlcompat
+.endif
+
+.if !empty(DLCOMPAT_BUILDLINK3_MK:M\+)
+BUILDLINK_PACKAGES+= dlcompat
+.endif # DLCOMPAT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}