Fixed patching

This commit is contained in:
2016-09-09 13:09:47 -05:00
parent d6e6a948a2
commit 14811d9fba

View File

@@ -41,9 +41,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 \