summaryrefslogtreecommitdiff
path: root/databases/iodbc/buildlink3.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-12-30 21:03:59 +0000
committerjlam <jlam@pkgsrc.org>2005-12-30 21:03:59 +0000
commit6516295733f616fae7d8a6f305bb6efac7d14ff4 (patch)
tree2d66696dbb8427496bf54fe16d547b1d8350a203 /databases/iodbc/buildlink3.mk
parent21c52d50b7442fbb52c04c1ad5cf15714adba515 (diff)
downloadpkgsrc-6516295733f616fae7d8a6f305bb6efac7d14ff4.tar.gz
Update databases/iodbc to 3.52.3. Changes from version 2.50.3 include
adding some support for the ODBC 3.x specifications and fixing quite a lot of bugs.
Diffstat (limited to 'databases/iodbc/buildlink3.mk')
-rw-r--r--databases/iodbc/buildlink3.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/databases/iodbc/buildlink3.mk b/databases/iodbc/buildlink3.mk
index 108e402d957..29f19f77272 100644
--- a/databases/iodbc/buildlink3.mk
+++ b/databases/iodbc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2004/10/03 00:13:18 tv Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2005/12/30 21:03:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
IODBC_BUILDLINK3_MK:= ${IODBC_BUILDLINK3_MK}+
@@ -11,9 +11,14 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Niodbc}
BUILDLINK_PACKAGES+= iodbc
.if !empty(IODBC_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.iodbc+= iodbc>=2.50.3
-BUILDLINK_RECOMMENDED.iodbc+= iodbc>=2.50.3nb1
+BUILDLINK_DEPENDS.iodbc+= iodbc>=3.52.3
BUILDLINK_PKGSRCDIR.iodbc?= ../../databases/iodbc
.endif # IODBC_BUILDLINK3_MK
+# ODBC drivers don't need these bits, but ODBC clients do.
+.if !defined(ODBC_DRIVER)
+. include "../../mk/dlopen.buildlink3.mk"
+. include "../../mk/pthread.buildlink3.mk"
+.endif
+
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}