From 848d5198beabf8447a45bd7ab202251350e4a0cb Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 18 Oct 2006 03:54:43 +0000 Subject: minor build and clean tweaks svn path=/trunk/; revision=6130 --- packages/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'packages/Makefile') 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." -- cgit v1.2.1