--- third-party/pjproject/Makefile.orig 2022-02-03 12:25:09 UTC +++ third-party/pjproject/Makefile @@ -98,15 +98,11 @@ SHELL_ECHO_PREFIX := echo '[pjproject] ' _all: $(TARGETS) -$(DOWNLOAD_DIR)/$(TARBALL_FILE): ../versions.mak - $(CMD_PREFIX) ($(TARBALL_EXISTS) && $(TARBALL_VERIFY) && touch $@) || (rm -rf $@ ;\ - $(TARBALL_DOWNLOAD)) || (rm -rf $@ ;\ - $(SHELL_ECHO_PREFIX) Retrying download ; $(TARBALL_DOWNLOAD)) +$(DOWNLOAD_DIR)/$(TARBALL_FILE): + @true source/.unpacked: $(DOWNLOAD_DIR)/$(TARBALL_FILE) - $(CMD_PREFIX) \ - $(TARBALL_VERIFY) || (rm -rf $@ ; $(SHELL_ECHO_PREFIX) Retrying download ; $(TARBALL_DOWNLOAD)) ;\ - $(SHELL_ECHO_PREFIX) Unpacking $< ;\ + $(SHELL_ECHO_PREFIX) Unpacking $< ;\ rm -rf source pjproject-*/ $(REALLY_QUIET) || : ;\ $(TAR) -xjf $< ;\ mv pjproject-$(PJPROJECT_VERSION) source @@ -212,7 +208,7 @@ $(ALL_LIB_FILES): source/build.mak source/pjlib/includ pjproject.symbols: $(ALL_LIB_FILES) $(ECHO_PREFIX) Generating symbols - $(CMD_PREFIX) $(NM) -Pog $(ALL_LIB_FILES) | $(SED) -n -E -e "s/.+: ([_]?[pP][jJ][^ ]+) .+/\1/gp" | sort -u > pjproject.symbols + $(CMD_PREFIX) $(NM) -Pog $(ALL_LIB_FILES) | $(SED) -n -r -e "s/^([pP][jJ][^ ]+) .+/\1/gp" | sort -u > pjproject.symbols source/pjsip-apps/src/asterisk_malloc_debug.c: patches/asterisk_malloc_debug.c $(ECHO_PREFIX) Copying $< to $@