summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
Diffstat (limited to 'chat')
-rw-r--r--chat/libpurple/buildlink3.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/chat/libpurple/buildlink3.mk b/chat/libpurple/buildlink3.mk
index 69c2c969e2c..57cc1714a0e 100644
--- a/chat/libpurple/buildlink3.mk
+++ b/chat/libpurple/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2007/11/03 15:59:18 tnn Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2007/12/01 16:46:07 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBPURPLE_BUILDLINK3_MK:= ${LIBPURPLE_BUILDLINK3_MK}+
@@ -16,4 +16,12 @@ BUILDLINK_API_DEPENDS.libpurple+= libpurple>=2.2.2
BUILDLINK_PKGSRCDIR.libpurple?= ../../chat/libpurple
.endif # LIBPURPLE_BUILDLINK3_MK
+pkgbase := libpurple
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.libpurple:Mdbus)
+. include "../../sysutils/dbus/buildlink3.mk"
+. include "../../sysutils/dbus-glib/buildlink3.mk"
+.endif
+
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}