Buildroot Archive on 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/avahi
Date: Fri, 23 Nov 2007 05:24:56 -0800 (PST)	[thread overview]
Message-ID: <20071123132456.77C9430080@busybox.net> (raw)

Author: jacmet
Date: 2007-11-23 05:24:55 -0800 (Fri, 23 Nov 2007)
New Revision: 20501

Log:
Compile in dbus support if available

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


Changeset:
Modified: trunk/buildroot/package/avahi/avahi.mk
===================================================================
--- trunk/buildroot/package/avahi/avahi.mk	2007-11-23 13:23:25 UTC (rev 20500)
+++ trunk/buildroot/package/avahi/avahi.mk	2007-11-23 13:24:55 UTC (rev 20501)
@@ -22,17 +22,26 @@
 AVAHI_TARGETS+=$(TARGET_DIR)/usr/sbin/avahi-autoipd
 endif
 
+AVAHI_EXTRA_DEPS:=
+
 ifeq ($(strip $(BR2_PACKAGE_AVAHI_DAEMON)),y)
 AVAHI_TARGETS+=$(TARGET_DIR)/usr/sbin/avahi-daemon
 AVAHI_DISABLE_EXPAT:=
 # depend on the exact library file instead of expat so avahi isn't always
 # considered out-of-date
-AVAHI_EXPAT_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
+AVAHI_EXTRA_DEPS+=$(STAGING_DIR)/usr/lib/libexpat.so.1
 else
 AVAHI_DISABLE_EXPAT:=--disable-expat
-AVAHI_EXPAT_DEP:=
+
 endif
 
+ifeq ($(strip $(BR2_PACKAGE_DBUS)),y)
+AVAHI_DISABLE_DBUS:=
+AVAHI_EXTRA_DEPS+=$(STAGING_DIR)/usr/lib/libdbus-1.so
+else
+AVAHI_DISABLE_DBUS:=--disable-dbus
+endif
+
 $(DL_DIR)/$(AVAHI_SOURCE):
 	 $(WGET) -P $(DL_DIR) $(AVAHI_SITE)/$(AVAHI_SOURCE)
 
@@ -43,13 +52,9 @@
 	toolchain/patch-kernel.sh $(AVAHI_DIR) package/avahi/ \*.patch
 	touch $@
 
-$(AVAHI_DIR)/.configured: $(AVAHI_DIR)/.unpacked $(AVAHI_EXPAT_DEP)
+$(AVAHI_DIR)/.configured: $(AVAHI_DIR)/.unpacked $(AVAHI_EXTRA_DEPS)
 	(cd $(AVAHI_DIR) && rm -rf config.cache && autoconf)
 	(cd $(AVAHI_DIR) && \
-		$(TARGET_CONFIGURE_OPTS) \
-		$(TARGET_CONFIGURE_ARGS) \
-		LIBDAEMON_CFLAGS="-I$(STAGING_DIR)/usr/include" \
-		LIBDAEMON_LIBS="-L$(STAGING_DIR)/lib -ldaemon" \
 		ac_cv_func_strtod=yes \
 		ac_fsusage_space=yes \
 		fu_cv_sys_stat_statfs2_bsize=yes \
@@ -125,7 +130,7 @@
 		--disable-qt3 \
 		--disable-qt4 \
 		--disable-gtk \
-		--disable-dbus \
+		$(AVAHI_DISABLE_DBUS) \
 		$(AVAHI_DISABLE_EXPAT) \
 		--disable-gdbm \
 		--disable-python \

             reply	other threads:[~2007-11-23 13:24 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-23 13:24 jacmet at uclibc.org [this message]
2007-11-25  8:28 ` [Buildroot] svn commit: trunk/buildroot/package/avahi Ulf Samuelsson
2007-11-26 12:56   ` Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2009-01-28 15:12 jacmet at uclibc.org
2008-12-15 16:09 jacmet at uclibc.org
2008-12-04 16:13 egtvedt at uclibc.org
2008-10-01 10:28 egtvedt at uclibc.org
2008-08-31 20:23 jacmet at uclibc.org
2008-08-27  7:29 jacmet at uclibc.org
2008-08-27  8:15 ` Bernhard Reutner-Fischer
2008-08-27  8:28   ` Peter Korsgaard
2008-08-27  7:29 jacmet at uclibc.org
2008-08-04 19:08 jacmet at uclibc.org
2008-06-24 16:02 correa at uclibc.org
2008-06-13 14:19 jacmet at uclibc.org
2008-03-31 19:56 jacmet at uclibc.org
2008-03-31 19:43 jacmet at uclibc.org
2008-03-31 14:28 jacmet at uclibc.org
2008-04-04  1:52 ` Hebbar
2008-04-04  7:31   ` Peter Korsgaard
2008-04-04  8:28     ` Gururaja Hebbar K R
2008-03-06 17:54 ninevoltz at uclibc.org
2008-01-26  7:56 thomasez at uclibc.org
2007-11-29 13:04 ulf at uclibc.org
2007-11-26 15:39 jacmet at uclibc.org
2007-11-26 13:02 jacmet at uclibc.org
2007-11-26 12:23 jacmet at uclibc.org
2007-11-23 15:45 jacmet at uclibc.org
2007-11-23 16:30 ` Ulf Samuelsson
2007-11-23 15:40 jacmet at uclibc.org
2007-09-03  9:02 jacmet at uclibc.org
2007-08-28  8:05 jacmet at uclibc.org
2007-08-01 15:52 ulf at uclibc.org
2007-07-23 15:00 ulf at uclibc.org
2007-07-23 14:53 ` Bernhard Fischer
2007-06-12 15:19 jacmet at uclibc.org
2007-05-15  9:45 jacmet at uclibc.org
2007-05-09 14:03 jacmet at uclibc.org
2007-05-09 13:38 jacmet at uclibc.org
2007-05-08 15:57 jacmet at uclibc.org
2007-01-22 18:15 andersen 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=20071123132456.77C9430080@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox