c0b140e57c
It will add BDB libraries to LIBS, and may introduce unwanted linked against BDB libraries, whether needed or not.
24 lines
649 B
Makefile
24 lines
649 B
Makefile
# $NetBSD: buildlink3.mk,v 1.23 2012/02/05 12:16:56 obache Exp $
|
|
|
|
BUILDLINK_TREE+= db3
|
|
|
|
.if !defined(DB3_BUILDLINK3_MK)
|
|
DB3_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.db3+= db3>=2.9.2
|
|
BUILDLINK_ABI_DEPENDS.db3+= db3>=3.11.2nb3
|
|
BUILDLINK_PKGSRCDIR.db3?= ../../databases/db3
|
|
BUILDLINK_INCDIRS.db3?= include/db3
|
|
BUILDLINK_LDADD.db3= -ldb3
|
|
BUILDLINK_TRANSFORM+= l:db-3:db3
|
|
|
|
. include "../../mk/bsd.fast.prefs.mk"
|
|
. if defined(USE_DB185) && !empty(USE_DB185:M[yY][eE][sS])
|
|
#BUILDLINK_LIBS.db3= ${BUILDLINK_LDADD.db3}
|
|
BUILDLINK_TRANSFORM+= l:db:db3
|
|
. endif
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.endif # DB3_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -db3
|