[package] avahi: Makefile fix to honor configuration changes
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 19 Sep 2012 15:09:30 +0000 (15:09 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 19 Sep 2012 15:09:30 +0000 (15:09 +0000)
commit058c9ac1abdcde778f9772b303df092f31d3b084
tree7fc24ccad17f23a46a025a1d8a1535dc51b71aff
parentb7fd9fe387c85a6e442d4d6e3bf1b578b289ad03
[package] avahi: Makefile fix to honor configuration changes

his patch is to fix a long-standing problem with avahi builds:
if you change the configuration, sometimes the relevant packages are not
correctly rebuilt; see, for example, ticket #11110.

Background: avahi can be built in two modes: with or without D-BUS support.
If you switch builds from one mode to the other and then back again, the
packages will not
always be rebuilt as required. For example, if you choose to build avahi (1)
without D-BUS support,
then (2) with D-BUS support and then (3) without D-BUS support, the packages
will not
be rebuilt the third time, and you'll be left with the packages
from the second build -- packages that require D-BUS support.

The patch works by deleting the ".build" file belonging to the mode not
currently chosen, so
that if that mode is chosen again in the future, its packages will always be
rebuilt.

A few small corrections to the explanatory text are included.

Signed-off-by <mikebrady@eircom.net>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@33472 3c298f89-4303-0410-b956-a3cf2f4a3e73
libs/avahi/Makefile