Handle patches in prepare

This commit is contained in:
Ian Douglas Scott 2017-06-08 12:40:23 -07:00
parent bd219d2088
commit 649559bfcc
No known key found for this signature in database
GPG Key ID: 4924E10E199B5959
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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