package/mpd: fix reversed logic in tcp disable
commit: https://git.buildroot.net/buildroot/commit/?id=20ed5635f14bfcc2b14b9498001d848919c06c5c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x
In commit 54b9008d482923131191da75f09966483f4ecac1 ("package/mpd: bump to version 0.21.11"), mpd was migrated from using the autotools build system to the meson build system.
As part of this, the BR2_PACKAGE_MPD_TCP was incorrectly modified, leading BR2_PACKAGE_MPD_TCP disabled to actually enable TCP, and BR2_PACKAGE_MPD_TCP enabled to not explicitly enable TCP support.
This commit fixes that by handling this option in the common way.
Signed-off-by Andreas Ziegler <[email protected]>
Signed-off-by Thomas Petazzoni <[email protected]>
(cherry picked from commit be08ba35698991ca0f42c7c11c70690caab3e378)
Signed-off-by Peter Korsgaard <[email protected]>
--- package/mpd/mpd.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
package/mpd/mpd.mk +3 -1
@@ -285,8 +285,10 @@ else MPD_CONF_OPTS += -Dsqlite=disabled endif -ifneq ($(BR2_PACKAGE_MPD_TCP),y) +ifeq ($(BR2_PACKAGE_MPD_TCP),y) MPD_CONF_OPTS += -Dtcp=true +else +MPD_CONF_OPTS += -Dtcp=false endif ifeq ($(BR2_PACKAGE_MPD_TREMOR),y)
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot