pkgsrc/databases/iodbc/buildlink3.mk
obache b503dfc5aa BUILDLINK_{INCDIR,LIBDIR}.iodbc must not contain ${PREFIX}.
(and CPPFLAGS will not be required)

fixes build of myodbc, odbc-postgresql and ruby-odbc.
2012-04-06 14:07:32 +00:00

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