diff options
Diffstat (limited to 'databases/qdbm/buildlink3.mk')
-rw-r--r-- | databases/qdbm/buildlink3.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/qdbm/buildlink3.mk b/databases/qdbm/buildlink3.mk index 1221d1f5cf4..3d5707edd2d 100644 --- a/databases/qdbm/buildlink3.mk +++ b/databases/qdbm/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/23 19:01:56 minskim Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2005/11/23 06:20:36 minskim Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ QDBM_BUILDLINK3_MK:= ${QDBM_BUILDLINK3_MK}+ @@ -18,5 +18,10 @@ BUILDLINK_PKGSRCDIR.qdbm?= ../../databases/qdbm .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/+$//} |