blob: 0bda52ac75d66cf2dbe22d9631c87bc5c525ed3b (
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
29
|
# $NetBSD: buildlink3.mk,v 1.5 2006/04/06 06:21:43 reed Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QDBM_BUILDLINK3_MK:= ${QDBM_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= qdbm
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqdbm}
BUILDLINK_PACKAGES+= qdbm
.if !empty(QDBM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qdbm+= qdbm>=1.8.40
BUILDLINK_PKGSRCDIR.qdbm?= ../../databases/qdbm
.endif # QDBM_BUILDLINK3_MK
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/lzo/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
CONFIGURE_ARGS+= --enable-pthread
BUILDLINK_CFLAGS.qdbm+= ${PTHREAD_CFLAGS}
BUILDLINK_LDFLAGS.qdbm+=${PTHREAD_LDFLAGS}
.endif
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|