b503dfc5aa
(and CPPFLAGS will not be required) fixes build of myodbc, odbc-postgresql and ruby-odbc.
20 lines
551 B
Makefile
20 lines
551 B
Makefile
# $NetBSD: buildlink3.mk,v 1.13 2012/04/06 14:07:32 obache Exp $
|
|
|
|
BUILDLINK_TREE+= iodbc
|
|
|
|
.if !defined(IODBC_BUILDLINK3_MK)
|
|
IODBC_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.iodbc+= iodbc>=3.52.3
|
|
BUILDLINK_INCDIRS.iodbc?= include/iodbc
|
|
BUILDLINK_LIBDIRS.iodbc?= lib/iodbc
|
|
BUILDLINK_PKGSRCDIR.iodbc?= ../../databases/iodbc
|
|
|
|
# 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
|
|
.endif # IODBC_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -iodbc
|