summaryrefslogtreecommitdiff
path: root/databases/iodbc
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2012-04-03 16:32:21 +0000
committerabs <abs@pkgsrc.org>2012-04-03 16:32:21 +0000
commit321e05c980440342504f4b3f405ee0e481e4fed5 (patch)
tree60d84ee7c152f1e13e3f38aee810b5e7138a94c5 /databases/iodbc
parent298424a20ef84271417c2256ea50799b4766f070 (diff)
downloadpkgsrc-321e05c980440342504f4b3f405ee0e481e4fed5.tar.gz
Set BUILDLINK_CPPFLAGS.iodbc - fixes at least myodbc & odbc-postgresql
Diffstat (limited to 'databases/iodbc')
-rw-r--r--databases/iodbc/buildlink3.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/iodbc/buildlink3.mk b/databases/iodbc/buildlink3.mk
index 998b8d41c75..34129a87ddc 100644
--- a/databases/iodbc/buildlink3.mk
+++ b/databases/iodbc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2012/03/15 15:27:58 abs Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2012/04/03 16:32:21 abs Exp $
BUILDLINK_TREE+= iodbc
@@ -9,6 +9,7 @@ BUILDLINK_API_DEPENDS.iodbc+= iodbc>=3.52.3
BUILDLINK_INCDIRS.iodbc?= ${PREFIX}/include/iodbc
BUILDLINK_LIBDIRS.iodbc?= ${PREFIX}/lib/iodbc
BUILDLINK_PKGSRCDIR.iodbc?= ../../databases/iodbc
+BUILDLINK_CPPFLAGS.iodbc+= -I${BUILDLINK_PREFIX.iodbc}/include/iodbc
# ODBC drivers don't need these bits, but ODBC clients do.
.if !defined(ODBC_DRIVER)