[4/6] mpc: Replace meson with meson setup

Message ID 20261025110439.3111131-8-adolf.belka@ipfire.org
State New
Headers
Series core206: Ship iputils |

Commit Message

Adolf Belka 25 Oct 2026, 11:04 a.m. UTC
- meson on its own is deprecated and therefore will at some time be no longer allowed.
   Additionally it is said to be ambiguous.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/mpc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
  

Patch

diff --git a/lfs/mpc b/lfs/mpc
index 3bf4914e1..b160aa8b2 100644
--- a/lfs/mpc
+++ b/lfs/mpc
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2026  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -34,7 +34,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mpc
-PAK_VER    = 10
+PAK_VER    = 11
 
 DEPS       = mpd libmpdclient
 
@@ -81,7 +81,9 @@  $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && meson	--prefix=/usr builddir/
+	cd $(DIR_APP) && meson setup \
+				--prefix=/usr \
+				builddir/
 	cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING)
 	cd $(DIR_APP) && ninja -C builddir/ install
 	@rm -rf $(DIR_APP)