Fixed patching

This commit is contained in:
2016-09-09 13:08:32 -05:00
parent 16ff016b7b
commit bd998c35ef

View File

@@ -43,9 +43,9 @@ $(SRCDIR): $(ARCHIVE)
fi
$(SRCDIR)/config.log: $(SRCDIR)
@if [ -f $(PATCHDIR)/*.patch ]; then \
cd $(SRCDIR) && cat $(PATCHDIR)/*.patch|patch --verbose -Np1; \
fi
@cd $(SRCDIR) && for patch in $(PATCHDIR)/*.patch; do \
patch --verbose -Np0 -i $$patch; \
done
@cd $(SRCDIR); \
./configure \
--prefix=/usr \