summaryrefslogtreecommitdiff
path: root/databases/qdbm
diff options
context:
space:
mode:
Diffstat (limited to 'databases/qdbm')
-rw-r--r--databases/qdbm/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/databases/qdbm/buildlink3.mk b/databases/qdbm/buildlink3.mk
index ccd2a40f17b..4080d4ef924 100644
--- a/databases/qdbm/buildlink3.mk
+++ b/databases/qdbm/buildlink3.mk
@@ -1,17 +1,10 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/09/03 02:56:00 obache Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2009/03/20 19:24:07 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-QDBM_BUILDLINK3_MK:= ${QDBM_BUILDLINK3_MK}+
+BUILDLINK_TREE+= qdbm
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= qdbm
-.endif
+.if !defined(QDBM_BUILDLINK3_MK)
+QDBM_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqdbm}
-BUILDLINK_PACKAGES+= qdbm
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qdbm
-
-.if !empty(QDBM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qdbm+= qdbm>=1.8.40
BUILDLINK_ABI_DEPENDS.qdbm+= qdbm>=1.8.65
BUILDLINK_PKGSRCDIR.qdbm?= ../../databases/qdbm
@@ -23,11 +16,11 @@ CONFIGURE_ARGS+= --enable-pthread
BUILDLINK_CFLAGS.qdbm+= ${PTHREAD_CFLAGS}
BUILDLINK_LDFLAGS.qdbm+=${PTHREAD_LDFLAGS}
. endif
-.endif # QDBM_BUILDLINK3_MK
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/lzo/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
+.endif # QDBM_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -qdbm