freeswitch: remove "+=" operator for portability 677/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Fri, 27 Aug 2021 21:31:24 +0000 (23:31 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Fri, 27 Aug 2021 21:38:19 +0000 (23:38 +0200)
POSIX shells don't support "+=" operators. This commit replaces it with
something portable.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/freeswitch/patches/230-mod_radius_cdr.patch

index bde050fa8d762cb0361533abc09d374242df59d9..406c0df2357de8eeceb8abe30167a2162fbd2163 100644 (file)
@@ -5,7 +5,7 @@
  $(RADCLIENT_BUILDDIR)/Makefile: $(RADCLIENT_DIR)
        mkdir -p $(RADCLIENT_BUILDDIR)
 -      cd $(RADCLIENT_BUILDDIR) && $(DEFAULT_VARS) $(RADCLIENT_DIR)/configure $(DEFAULT_ARGS) --srcdir=$(RADCLIENT_DIR)
-+      cd $(RADCLIENT_BUILDDIR) && patch -p1 < ../../src/mod/event_handlers/mod_radius_cdr/freeradius-client-1.1.6-configure-in.diff && autoreconf -v -f -i -s && $(DEFAULT_VARS) CFLAGS+="-Wno-cpp" $(RADCLIENT_DIR)/configure $(DEFAULT_ARGS) --srcdir=$(RADCLIENT_DIR)
++      cd $(RADCLIENT_BUILDDIR) && patch -p1 < ../../src/mod/event_handlers/mod_radius_cdr/freeradius-client-1.1.6-configure-in.diff && autoreconf -v -f -i -s && $(DEFAULT_VARS) CFLAGS="${CFLAGS} -Wno-cpp" $(RADCLIENT_DIR)/configure $(DEFAULT_ARGS) --srcdir=$(RADCLIENT_DIR)
        $(TOUCH_TARGET)
  
  $(RADCLIENT_LA): $(RADCLIENT_BUILDDIR)/Makefile