summaryrefslogtreecommitdiff
path: root/databases/unixodbc/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'databases/unixodbc/buildlink3.mk')
-rw-r--r--databases/unixodbc/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/unixodbc/buildlink3.mk b/databases/unixodbc/buildlink3.mk
new file mode 100644
index 00000000000..544ec2019ac
--- /dev/null
+++ b/databases/unixodbc/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 01:11:11 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+UNIXODBC_BUILDLINK3_MK:= ${UNIXODBC_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= unixodbc
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nunixodbc}
+BUILDLINK_PACKAGES+= unixodbc
+
+.if !empty(UNIXODBC_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.unixodbc+= unixodbc>=2.0.11nb1
+BUILDLINK_PKGSRCDIR.unixodbc?= ../../databases/unixodbc
+.endif # UNIXODBC_BUILDLINK3_MK
+
+.include "../../devel/readline/buildlink3.mk"
+.include "../../devel/libtool/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}