summaryrefslogtreecommitdiff
path: root/databases/iodbc/buildlink3.mk
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-05-05 03:16:02 +0000
committersnj <snj@pkgsrc.org>2004-05-05 03:16:02 +0000
commit2e0f8617e7a69158842700d02f24c8a9da65721a (patch)
tree6b2e85043dcbe6824880b441065c65fa0734939f /databases/iodbc/buildlink3.mk
parent77c09ecc76d3db2d61b5df853be1f91cfaee35ef (diff)
downloadpkgsrc-2e0f8617e7a69158842700d02f24c8a9da65721a.tar.gz
Convert to buildlink3.
Diffstat (limited to 'databases/iodbc/buildlink3.mk')
-rw-r--r--databases/iodbc/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/databases/iodbc/buildlink3.mk b/databases/iodbc/buildlink3.mk
new file mode 100644
index 00000000000..f727fa5f68d
--- /dev/null
+++ b/databases/iodbc/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/05 03:16:02 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+IODBC_BUILDLINK3_MK:= ${IODBC_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= iodbc
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Niodbc}
+BUILDLINK_PACKAGES+= iodbc
+
+.if !empty(IODBC_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.iodbc+= iodbc>=2.50.3
+BUILDLINK_PKGSRCDIR.iodbc?= ../../databases/iodbc
+.endif # IODBC_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}