pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/libpurple The buildlink3.mk file needs to know th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4e59edf33be
branches:  trunk
changeset: 536039:e4e59edf33be
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Dec 01 16:46:07 2007 +0000

description:
The buildlink3.mk file needs to know the options of the package,
especially dbus. Patch by Jan Kryl on pkgsrc-users.

diffstat:

 chat/libpurple/buildlink3.mk |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 50438ffe3186 -r e4e59edf33be chat/libpurple/buildlink3.mk
--- a/chat/libpurple/buildlink3.mk      Sat Dec 01 16:42:26 2007 +0000
+++ b/chat/libpurple/buildlink3.mk      Sat Dec 01 16:46:07 2007 +0000
@@ -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_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/+$//}



Home | Main Index | Thread Index | Old Index