package/pulseaudio: fix build-dependency on gettext
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 16 Sep 2012 12:57:53 +0000 (12:57 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 20 Sep 2012 19:35:15 +0000 (21:35 +0200)
In its Config.in, pulseaudio declares a dependency on gettext
using the documented construct:
    select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT

but in its .mk file, declares a dependency on the package:
    PULSEAUDIO_DEPENDENCIES = [...] $(if $(BR2_PACKAGE_GETTEXT),gettext) [...]

instead of the documented:
    $(if $(BR2_NEEDS_GETTEXT),gettext)

Fix that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
CC: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/pulseaudio/pulseaudio.mk

index 6f7d7d2e377a3bd04b9725ecb7b198853078d1e0..406dd8f4086a185aaafe3bec643726720180a1dc 100644 (file)
@@ -16,7 +16,7 @@ PULSEAUDIO_CONF_OPT = \
 
 PULSEAUDIO_DEPENDENCIES = \
        host-pkg-config libtool json-c libsndfile speex host-intltool \
-       $(if $(BR2_PACKAGE_GETTEXT),gettext) \
+       $(if $(BR2_NEEDS_GETTEXT),gettext) \
        $(if $(BR2_PACKAGE_LIBATOMIC_OPS),libatomic_ops) \
        $(if $(BR2_PACKAGE_LIBSAMPLERATE),libsamplerate) \
        $(if $(BR2_PACKAGE_ALSA_LIB),alsa-lib) \