Fixed patching

This commit is contained in:
2016-09-09 13:10:54 -05:00
parent e94c89f8c0
commit 022a251c0e

View File

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