pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/gnome-vfs buildlink avahi and fam conditional...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e09f04f41092
branches:  trunk
changeset: 568436:e09f04f41092
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Dec 13 09:34:33 2009 +0000

description:
buildlink avahi and fam conditionally as PKG_BUILD_OPTION.

diffstat:

 sysutils/gnome-vfs/buildlink3.mk |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 26a16f9f4770 -r e09f04f41092 sysutils/gnome-vfs/buildlink3.mk
--- a/sysutils/gnome-vfs/buildlink3.mk  Sun Dec 13 08:56:18 2009 +0000
+++ b/sysutils/gnome-vfs/buildlink3.mk  Sun Dec 13 09:34:33 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.21 2009/06/14 22:58:09 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.22 2009/12/13 09:34:33 obache Exp $
 
 BUILDLINK_TREE+=       gnome-vfs
 
@@ -14,7 +14,18 @@
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../security/gnutls/buildlink3.mk"
 .include "../../sysutils/dbus-glib/buildlink3.mk"
+
+pkgbase := gnome-vfs
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.gnome-vfs:Mavahi)
+.include "../../net/avahi/buildlink3.mk"
+.endif
+
+.if !empty(PKG_BUILD_OPTIONS.gnome-vfs:Mfam)
 .include "../../mk/fam.buildlink3.mk"
+.endif
+
 .endif # GNOME_VFS_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -gnome-vfs



Home | Main Index | Thread Index | Old Index