All of lore.kernel.org
 help / color / mirror / Atom feed
From: jacmet at uclibc.org <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/dnsmasq
Date: Sun,  2 Mar 2008 06:36:43 -0800 (PST)	[thread overview]
Message-ID: <20080302143643.7AE9B12C68F@busybox.net> (raw)

Author: jacmet
Date: 2008-03-02 06:36:43 -0800 (Sun, 02 Mar 2008)
New Revision: 21153

Log:
dnsmasq: Enable dbus support if available


Modified:
   trunk/buildroot/package/dnsmasq/dnsmasq.mk


Changeset:
Modified: trunk/buildroot/package/dnsmasq/dnsmasq.mk
===================================================================
--- trunk/buildroot/package/dnsmasq/dnsmasq.mk	2008-03-02 14:36:40 UTC (rev 21152)
+++ trunk/buildroot/package/dnsmasq/dnsmasq.mk	2008-03-02 14:36:43 UTC (rev 21153)
@@ -21,6 +21,12 @@
 DNSMASQ_COPTS+=-DNO_TFTP
 endif
 
+ifeq ($(strip $(BR2_PACKAGE_DBUS)),y)
+DNSMASQ_DBUS:=$(TARGET_DIR)/usr/bin/dbus-daemon
+else
+DNSMASQ_DBUS:=
+endif
+
 $(DL_DIR)/$(DNSMASQ_SOURCE):
 	$(WGET) -P $(DL_DIR) $(DNSMASQ_SITE)/$(DNSMASQ_SOURCE)
 
@@ -29,7 +35,14 @@
 	toolchain/patch-kernel.sh $(DNSMASQ_DIR) package/dnsmasq/ \*.patch
 	touch $@
 
-$(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY): $(DNSMASQ_DIR)/.source
+$(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY): $(DNSMASQ_DIR)/.source $(DNSMASQ_DBUS)
+ifeq ($(strip $(BR2_PACKAGE_DBUS)),y)
+	$(SED) 's^.*#define HAVE_DBUS.*^#define HAVE_DBUS^' \
+		$(DNSMASQ_DIR)/src/config.h
+else
+	$(SED) 's^.*#define HAVE_DBUS.*^/* #define HAVE_DBUS */^' \
+		$(DNSMASQ_DIR)/src/config.h
+endif
 	$(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \
 		COPTS='$(DNSMASQ_COPTS)' PREFIX=/usr -C $(DNSMASQ_DIR)
 

             reply	other threads:[~2008-03-02 14:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-02 14:36 jacmet at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-12 13:39 [Buildroot] svn commit: trunk/buildroot/package/dnsmasq jacmet at uclibc.org
2008-12-01  9:08 jacmet at uclibc.org
2008-08-08 18:15 jacmet at uclibc.org
2008-06-18 13:12 jacmet at uclibc.org
2008-06-18 13:21 ` Bernhard Fischer
2008-06-15 20:44 jacmet at uclibc.org
2008-03-02 14:36 jacmet at uclibc.org
2008-03-02 14:36 jacmet at uclibc.org
2008-03-02 14:36 jacmet at uclibc.org
2007-09-10  9:05 jacmet at uclibc.org
2007-09-10  9:04 jacmet at uclibc.org
2007-08-20  9:25 ulf at uclibc.org
2007-07-23  8:54 ulf at uclibc.org
2007-07-23  8:47 ulf at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080302143643.7AE9B12C68F@busybox.net \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.