pkgsrc/databases/iodbc/buildlink3.mk

26 lines
735 B
Makefile
Raw Normal View History

# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:39 jlam Exp $
2004-05-05 05:16:02 +02:00
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
IODBC_BUILDLINK3_MK:= ${IODBC_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= iodbc
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Niodbc}
BUILDLINK_PACKAGES+= iodbc
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}iodbc
2004-05-05 05:16:02 +02:00
.if !empty(IODBC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.iodbc+= iodbc>=3.52.3
2004-05-05 05:16:02 +02:00
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/+$//}