2006-05-07 12:38:40 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.7 2006/05/07 10:38:40 wiz Exp $
|
2005-10-23 21:01:56 +02:00
|
|
|
|
|
|
|
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+)
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.qdbm+= qdbm>=1.8.40
|
2005-10-23 21:01:56 +02:00
|
|
|
BUILDLINK_PKGSRCDIR.qdbm?= ../../databases/qdbm
|
2006-05-07 12:38:40 +02:00
|
|
|
|
|
|
|
.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
|
2005-10-23 21:01:56 +02:00
|
|
|
.endif # QDBM_BUILDLINK3_MK
|
|
|
|
|
2006-04-02 22:13:54 +02:00
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
|
|
|
.include "../../archivers/lzo/buildlink3.mk"
|
2005-10-23 21:01:56 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
|
2006-04-12 12:26:59 +02:00
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|