wok-6.x diff module-init-tools/receipt @ rev 3740
add fox1.4
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu Jul 23 19:03:35 2009 +0000 (2009-07-23) |
parents | f0a84dc0a7c2 |
children | 71c7aacfbbb2 |
line diff
1.1 --- a/module-init-tools/receipt Mon Jun 08 19:12:04 2009 +0200 1.2 +++ b/module-init-tools/receipt Thu Jul 23 19:03:35 2009 +0000 1.3 @@ -15,8 +15,15 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - [ -f done.lzlib.u ] || patch -p1 < ../stuff/lzlib.u 1.8 - touch done.lzlib.u 1.9 + for patch_file in lzlib depmod; do 1.10 + if [ -f done.$patch_file ]; then 1.11 + echo "Skipping $patch_file" 1.12 + continue 1.13 + fi 1.14 + echo "Apply $patch_file.u" 1.15 + patch -p1 < ../stuff/$patch_file.u || return 1 1.16 + touch done.$patch_file 1.17 + done 1.18 ./configure --enable-zlib --prefix=/usr \ 1.19 --sbindir=/sbin --bindir=/bin --sysconfdir=/etc \ 1.20 --infodir=/usr/share/info --mandir=/usr/share/man \