blob: d2bb54d13efc1ca48bcd4cc63d42ac50f330d399 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $NetBSD: buildlink3.mk,v 1.31 2007/06/08 12:23:51 wiz Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DB4_BUILDLINK3_MK:= ${DB4_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= db4
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndb4}
BUILDLINK_PACKAGES+= db4
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}db4
.if !empty(DB4_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.db4+= db4>=4.5.20
BUILDLINK_PKGSRCDIR.db4?= ../../databases/db4
BUILDLINK_INCDIRS.db4?= include/db4
BUILDLINK_LDADD.db4= -ldb4
BUILDLINK_TRANSFORM+= l:db-4:db4
. include "../../mk/compiler.mk"
. if empty(PKGSRC_COMPILER:Mgcc)
PTHREAD_OPTS+= native
. include "../../mk/pthread.buildlink3.mk"
. endif
.endif # DB4_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|