summaryrefslogtreecommitdiff
path: root/chat/libpurple
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-12-01 16:46:07 +0000
committerrillig <rillig@pkgsrc.org>2007-12-01 16:46:07 +0000
commit7f2c4742b4e5066a0d58f9494d83fba661a68831 (patch)
treeb4b1543a9524ec4862fdfc34f32012317456c08c /chat/libpurple
parenta8dbf2fe14bd97182de6189a552610fe6708f08e (diff)
downloadpkgsrc-7f2c4742b4e5066a0d58f9494d83fba661a68831.tar.gz
The buildlink3.mk file needs to know the options of the package,
especially dbus. Patch by Jan Kryl on pkgsrc-users.
Diffstat (limited to 'chat/libpurple')
-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/+$//}