diff --git a/cook.sh b/cook.sh index f63fd38d..975d07f0 100755 --- a/cook.sh +++ b/cook.sh @@ -88,6 +88,11 @@ function op { prepare) rm -rf build cp -r source build + + for patch in *.patch + do + patch -p1 -d build < "$patch" + done ;; unprepare) rm -rf build diff --git a/recipes/gnu-make/recipe.sh b/recipes/gnu-make/recipe.sh index 3e3ab47e..9c0f0c3e 100644 --- a/recipes/gnu-make/recipe.sh +++ b/recipes/gnu-make/recipe.sh @@ -26,7 +26,6 @@ function recipe_update { } function recipe_build { - patch -p1 < ../make.patch ./configure --host=${HOST} --prefix=/ CFLAGS=-DPOSIX --without-guile make skip=1