From d568f9336c1bf220a7744b980b06b5b0de6de1a7 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 15 Jul 2018 23:27:08 +0200 Subject: [PATCH] freeswitch-stable: fix sed script The sed script used on libs/unimrcp is used to set LDFLAGS using APR_SETVAR. Since nls.mk is included there are LDFLAGS with commas. But the macro APR_SETVAR uses commas to separate arguments, so now the LDFLAGS are only getting partially copied. Solve this by surrounding LDFLAGS with brackets ([...]). Signed-off-by: Sebastian Kemper --- net/freeswitch-stable/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/freeswitch-stable/Makefile b/net/freeswitch-stable/Makefile index e24c0cb..df85bea 100644 --- a/net/freeswitch-stable/Makefile +++ b/net/freeswitch-stable/Makefile @@ -910,7 +910,7 @@ define Build/Prepare echo '#codecs/mod_yuv' >> $(PKG_BUILD_DIR)/modules.conf echo '#event_handlers/mod_event_test' >> $(PKG_BUILD_DIR)/modules.conf - $(SED) 's|$(FS_STABLE_ANCHOR)|APR_SETVAR(LDFLAGS,$(FS_STABLE_APR_LIBS) $(TARGET_LDFLAGS))|' \ + $(SED) 's|$(FS_STABLE_ANCHOR)|APR_SETVAR(LDFLAGS,[$(FS_STABLE_APR_LIBS) $(TARGET_LDFLAGS)])|' \ $(PKG_BUILD_DIR)/libs/unimrcp/build/acmacros/apr.m4 endef -- 2.30.2