diff options
author | rillig <rillig@pkgsrc.org> | 2007-12-01 16:46:07 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-12-01 16:46:07 +0000 |
commit | 7f2c4742b4e5066a0d58f9494d83fba661a68831 (patch) | |
tree | b4b1543a9524ec4862fdfc34f32012317456c08c /chat/libpurple | |
parent | a8dbf2fe14bd97182de6189a552610fe6708f08e (diff) | |
download | pkgsrc-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.mk | 10 |
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/+$//} |