summaryrefslogtreecommitdiff
path: root/databases/db4/buildlink3.mk
blob: 718186a804fbf6000bb798d872ddec8e8119f5d2 (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
# $NetBSD: buildlink3.mk,v 1.39 2012/05/07 01:53:18 dholland Exp $

BUILDLINK_TREE+=	db4

.if !defined(DB4_BUILDLINK3_MK)
DB4_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.db4+=	db4>=4.8.30
BUILDLINK_ABI_DEPENDS.db4+=	db4>=4.8.30
BUILDLINK_PKGSRCDIR.db4?=	../../databases/db4
BUILDLINK_INCDIRS.db4?=		include/db4
BUILDLINK_LDADD.db4=		-ldb4
BUILDLINK_TRANSFORM+=		l:db-4:db4

.include "../../mk/bsd.fast.prefs.mk"
.if defined(USE_DB185) && !empty(USE_DB185:M[yY][eE][sS])
#BUILDLINK_LIBS.db4=		${BUILDLINK_LDADD.db4}
BUILDLINK_TRANSFORM+=		l:db:db4
.endif

PTHREAD_OPTS+=	native
.include "../../mk/pthread.buildlink3.mk"
.endif # DB4_BUILDLINK3_MK

BUILDLINK_TREE+=	-db4