wok-4.x diff cyrus-imapd/receipt @ rev 1553
Apply patchs once for bash cromfs cyrus-imapd jwm lsdvd mISDNuser module-init-tools qemu rox-filer xpat2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 12 09:55:00 2008 +0000 (2008-10-12) |
parents | ac4e45db7a32 |
children | 22e54ebf9d86 |
line diff
1.1 --- a/cyrus-imapd/receipt Sat Aug 09 14:25:01 2008 +0000 1.2 +++ b/cyrus-imapd/receipt Sun Oct 12 09:55:00 2008 +0000 1.3 @@ -16,12 +16,19 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - patch -p1 < ../stuff/50-FTBFS-gcc-4.0-fix.dpatch 1.8 - patch -p0 < ../stuff/p1.patch 1.9 - patch -p0 < ../stuff/p2.patch 1.10 + while read arg file; do 1.11 + [ -f done.$file ] && continue 1.12 + echo "Apply $file..." 1.13 + patch $arg < ../stuff/$file 1.14 + touch done.$file 1.15 + done << EOT 1.16 +-p1 50-FTBFS-gcc-4.0-fix.dpatch 1.17 +-p0 p1.patch 1.18 +-p0 p2.patch 1.19 +EOT 1.20 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.21 - --mandir=/usr/share/man $CONFIGURE_ARGS 1.22 - make 1.23 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.24 + make && 1.25 make DESTDIR=$PWD/_pkg install 1.26 } 1.27