pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/gnome-vfs Make FAM support optional (enabled ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/441d1345885e
branches:  trunk
changeset: 557084:441d1345885e
user:      asau <asau%pkgsrc.org@localhost>
date:      Fri Apr 10 22:27:16 2009 +0000

description:
Make FAM support optional (enabled by default).
Per request in PR pkg/41025

diffstat:

 sysutils/gnome-vfs/Makefile   |   5 +----
 sysutils/gnome-vfs/options.mk |  11 +++++++++--
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (53 lines):

diff -r efc144dfc711 -r 441d1345885e sysutils/gnome-vfs/Makefile
--- a/sysutils/gnome-vfs/Makefile       Fri Apr 10 20:08:10 2009 +0000
+++ b/sysutils/gnome-vfs/Makefile       Fri Apr 10 22:27:16 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2009/03/19 11:32:45 drochner Exp $
+# $NetBSD: Makefile,v 1.74 2009/04/10 22:27:16 asau Exp $
 
 PKGCONFIG_OVERRIDE=    gnome-vfs-2.0.pc.in
 PKGCONFIG_OVERRIDE+=   gnome-vfs-module-2.0.pc.in
@@ -24,8 +24,6 @@
 .include "Makefile.common"
 .include "options.mk"
 
-CONFIGURE_ARGS+=       --enable-fam
-
 CONFLICTS+=            gnome-vfs2-[0-9]*
 
 .include "../../devel/GConf/schemas.mk"
@@ -33,5 +31,4 @@
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 
-.include "../../mk/fam.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r efc144dfc711 -r 441d1345885e sysutils/gnome-vfs/options.mk
--- a/sysutils/gnome-vfs/options.mk     Fri Apr 10 20:08:10 2009 +0000
+++ b/sysutils/gnome-vfs/options.mk     Fri Apr 10 22:27:16 2009 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.1 2008/12/01 14:41:52 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2009/04/10 22:27:16 asau Exp $
 #
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.gnome-vfs
 PKG_SUPPORTED_OPTIONS= gssapi hal inet6
-PKG_SUGGESTED_OPTIONS= hal
+PKG_SUGGESTED_OPTIONS= fam hal
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -14,6 +14,13 @@
 
 .include "../../mk/bsd.options.mk"
 
+.if !empty(PKG_OPTIONS:Mfam)
+.include "../../mk/fam.buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-fam
+.else
+CONFIGURE_ARGS+=       --disable-fam
+.endif
+
 .if !empty(PKG_OPTIONS:Mgssapi)
 .include "../../mk/krb5.buildlink3.mk"
 CONFIGURE_ENV+=                KRB5_CONFIG=${SH_KRB5_CONFIG}



Home | Main Index | Thread Index | Old Index