diff --git a/cook.sh b/cook.sh index 8fc93feb666a96db46ca1c6e35a0cc7e2514d6f9..2a72a4339e0aa9fb8695002ed1a6eafc3f1623a1 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 fe52243c565e906d8915647458d2f25216b6df75..74db2aeb160a131435aae425fb907c299e2cb803 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 return 1