diff options
Diffstat (limited to 'packages/Makefile')
-rw-r--r-- | packages/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/Makefile b/packages/Makefile index 6d65ff0f..7aff40cb 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -802,7 +802,7 @@ patch_pd: echo "Applying $$patch"; \ cd $(pd_src)/src/ && patch -p0 < $$patch; \ done -# apply all platform-specific patches +# apply all platform-specific patches (is broken on MINGW/Windows) ifneq ($(OS_NAME),windows) for patch in $(shell ls -1 $(CWD)/patches/$(OS_NAME)/*.patch); do \ echo "Applying $$patch"; \ @@ -815,17 +815,20 @@ endif unpatch_pd: -# apply all platform-specific patches +# apply all platform-specific patches (is broken on MINGW/Windows) +ifneq ($(OS_NAME),windows) for patch in $(shell ls -1r $(CWD)/patches/$(OS_NAME)/*.patch); do \ echo "Applying $$patch"; \ cd $(pd_src)/src/ && patch -p0 -R < $$patch; \ done +endif # apply all platform-neutral patches for patch in $(shell ls -1r $(CWD)/patches/*.patch); do \ echo "Applying $$patch"; \ cd $(pd_src)/src/ && patch -p0 -R < $$patch; \ done - -rm -f -- $(pd_src)/src/configure $(pd_src)/src/makefile + -rm -f -- $(pd_src)/src/configure $(pd_src)/src/makefile \ + $(pd_src)/src/makefile.dependencies @echo " " @echo "unpatching completed." |