summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-25 17:10:19 +0000
committersnj <snj@pkgsrc.org>2004-04-25 17:10:19 +0000
commit0a54fc04ee5719ecad5e91b0425fb231b7f84998 (patch)
tree234f018ddea76fc539875f35ec6abb59e1a2f590 /devel
parent513a819c704869cfdc197ba8e392f2d79914a478 (diff)
downloadpkgsrc-0a54fc04ee5719ecad5e91b0425fb231b7f84998.tar.gz
Belatedly add a buildlink3.mk. Noted by kristerw@.
Diffstat (limited to 'devel')
-rw-r--r--devel/hdf/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/hdf/buildlink3.mk b/devel/hdf/buildlink3.mk
new file mode 100644
index 00000000000..66a59dcfead
--- /dev/null
+++ b/devel/hdf/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 17:10:19 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+HDF_BUILDLINK3_MK:= ${HDF_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= hdf
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhdf}
+BUILDLINK_PACKAGES+= hdf
+
+.if !empty(HDF_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.hdf+= hdf>=4.1r5
+BUILDLINK_PKGSRCDIR.hdf?= ../../devel/hdf
+.endif # HDF_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}