diff options
author | jmmv <jmmv@pkgsrc.org> | 2008-04-29 12:35:10 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2008-04-29 12:35:10 +0000 |
commit | ce69f44e734f7c8e75034b04352895bda4d44b4c (patch) | |
tree | 860c02d729ccd97e37ea5dbac01acbcf9383ce63 /chat/pidgin/options.mk | |
parent | ca5df622cb3e622bed34d5ef6eaba83ee31ae180 (diff) | |
download | pkgsrc-ce69f44e734f7c8e75034b04352895bda4d44b4c.tar.gz |
Fix build when dbus is installed
Add an option to select whether dbus support should be enabled or not and
use it to control the installation of the musicmessaging plugin. Fixes the
package when dbus is already installed. Bump PKGREVISION to 2.
Ew. Conditional builds.
Diffstat (limited to 'chat/pidgin/options.mk')
-rw-r--r-- | chat/pidgin/options.mk | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/chat/pidgin/options.mk b/chat/pidgin/options.mk index 4acda327b3e..46eefd0e02f 100644 --- a/chat/pidgin/options.mk +++ b/chat/pidgin/options.mk @@ -1,11 +1,22 @@ -# $NetBSD: options.mk,v 1.2 2007/08/04 14:01:38 tnn Exp $ +# $NetBSD: options.mk,v 1.3 2008/04/29 12:35:10 jmmv Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.pidgin -PKG_SUPPORTED_OPTIONS+= gtkspell gstreamer debug +PKG_SUPPORTED_OPTIONS+= dbus debug gstreamer gtkspell PKG_SUGGESTED_OPTIONS+= gtkspell .include "../../mk/bsd.options.mk" +PLIST_VARS+= dbus + +.if !empty(PKG_OPTIONS:Mdbus) +CONFIGURE_ARGS+= --enable-dbus +PLIST.dbus= yes +. include "../../sysutils/dbus/buildlink3.mk" +. include "../../sysutils/dbus-glib/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-dbus +.endif + .if !empty(PKG_OPTIONS:Mgtkspell) . include "../../textproc/gtkspell/buildlink3.mk" .else |