From 34f6fac9a55d4b2b3648e864a19839ca75c74e5e Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Mon, 29 Jun 2015 12:45:34 +0200 Subject: [PATCH] Use command "7za" instead of "7z" The "7za" command is available on more Unix systems. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bda6b947..7fedf9a5 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ WGET := wget --no-check-certificate \ REQUIREMENTS := autoconf automake autopoint bash bison bzip2 cmake flex \ gcc g++ gperf intltoolize $(LIBTOOL) $(LIBTOOLIZE) \ $(MAKE) openssl $(PATCH) $(PERL) python ruby scons \ - $(SED) $(SORT) unzip wget xz 7z + $(SED) $(SORT) unzip wget xz 7za PREFIX := $(PWD)/usr LOG_DIR := $(PWD)/log @@ -138,7 +138,7 @@ UNPACK_ARCHIVE = \ $(if $(filter %.tar.lzma,$(1)),xz -dc -F lzma '$(1)' | tar xf -, \ $(if $(filter %.txz, $(1)),xz -dc '$(1)' | tar xf -, \ $(if $(filter %.tar.xz, $(1)),xz -dc '$(1)' | tar xf -, \ - $(if $(filter %.7z, $(1)),7z x '$(1)', \ + $(if $(filter %.7z, $(1)),7za x '$(1)', \ $(if $(filter %.zip, $(1)),unzip -q '$(1)', \ $(error Unknown archive format: $(1)))))))))))