]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/gzip
Zwischencommit beim Umzug auf LFS 6.2.
[people/pmueller/ipfire-2.x.git] / lfs / gzip
index 46960c671c2567440889ca0e8580fef45373606d..9f5767a04d461c090c3683708cd5a06558adf034 100644 (file)
--- a/lfs/gzip
+++ b/lfs/gzip
@@ -85,7 +85,9 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/gzip-1.3.5-security_fixes-1.patch
+ifeq "$(ROOT)" ""
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-security_fixes-1.patch
+endif
        cd $(DIR_APP) && ./configure $(EXTRA_CONFIG)
 ifeq "$(ROOT)" ""
        cd $(DIR_APP) && sed -i 's@"BINDIR"@/bin@g' gzexe.in