# HG changeset patch # User Pascal Bellard # Date 1223805300 0 # Node ID 65d3dfc87776db83a750444014025633cb69a18a # Parent 37105c976ab869d14b987c19d795e10c1c879bd3 Apply patchs once for bash cromfs cyrus-imapd jwm lsdvd mISDNuser module-init-tools qemu rox-filer xpat2 diff -r 37105c976ab8 -r 65d3dfc87776 bash/receipt --- a/bash/receipt Sat Oct 11 21:19:51 2008 +0000 +++ b/bash/receipt Sun Oct 12 09:55:00 2008 +0000 @@ -15,14 +15,16 @@ { # Patch and then build. cd $src - busybox patch -p1 -i ../stuff/bash32-025.patch + [ -f done.bash32-025.patch ] || + busybox patch -p1 -i ../stuff/bash32-025.patch + touch done.bash32-025.patch ./configure --prefix=/usr --bindir=/bin \ --enable-history --enable-alias \ --disable-nls --without-bash-malloc \ --disable-select --disable-help-builtin \ --infodir=/usr/share/info --mandir=/usr/share/man \ - $CONFIGURE_ARGS - make + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install } diff -r 37105c976ab8 -r 65d3dfc87776 cromfs/receipt --- a/cromfs/receipt Sat Oct 11 21:19:51 2008 +0000 +++ b/cromfs/receipt Sun Oct 12 09:55:00 2008 +0000 @@ -15,10 +15,13 @@ compile_rules() { cd $src - patch -p1 < ../stuff/FBLOCK_CACHE_MAX_SIZE.u - patch -p1 < ../stuff/openmp.u + for i in FBLOCK_CACHE_MAX_SIZE.u openmp.u ; do + [ -f done.$i ] && continue + patch -p1 < ../stuff/$i + touch done.$i + done chmod +x configure - ./configure --prefix=/usr $CONFIGURE_ARGS + ./configure --prefix=/usr $CONFIGURE_ARGS && make install } diff -r 37105c976ab8 -r 65d3dfc87776 cyrus-imapd/receipt --- a/cyrus-imapd/receipt Sat Oct 11 21:19:51 2008 +0000 +++ b/cyrus-imapd/receipt Sun Oct 12 09:55:00 2008 +0000 @@ -16,12 +16,19 @@ compile_rules() { cd $src - patch -p1 < ../stuff/50-FTBFS-gcc-4.0-fix.dpatch - patch -p0 < ../stuff/p1.patch - patch -p0 < ../stuff/p2.patch + while read arg file; do + [ -f done.$file ] && continue + echo "Apply $file..." + patch $arg < ../stuff/$file + touch done.$file + done << EOT +-p1 50-FTBFS-gcc-4.0-fix.dpatch +-p0 p1.patch +-p0 p2.patch +EOT ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man $CONFIGURE_ARGS - make + --mandir=/usr/share/man $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install } diff -r 37105c976ab8 -r 65d3dfc87776 jwm/receipt --- a/jwm/receipt Sat Oct 11 21:19:51 2008 +0000 +++ b/jwm/receipt Sun Oct 12 09:55:00 2008 +0000 @@ -15,13 +15,14 @@ compile_rules() { cd $src - patch -p1 < ../stuff/resize-backgound.u + [ -f done.resize-backgound.u ] || patch -p1 < ../stuff/resize-backgound.u + touch done.resize-backgound.u ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc/jwm \ --disable-fribidi \ - $CONFIGURE_ARGS + $CONFIGURE_ARGS && make } diff -r 37105c976ab8 -r 65d3dfc87776 lsdvd/receipt --- a/lsdvd/receipt Sat Oct 11 21:19:51 2008 +0000 +++ b/lsdvd/receipt Sun Oct 12 09:55:00 2008 +0000 @@ -16,9 +16,11 @@ compile_rules() { cd $src - patch -p1 -i ../stuff/lsdvd-0.16-configure.patch - ./configure --prefix=/usr $CONFIGURE_ARGS - make + [ -f done.lsdvd-0.16-configure.patch ] || + patch -p1 -i ../stuff/lsdvd-0.16-configure.patch + touch done.lsdvd-0.16-configure.patch + ./configure --prefix=/usr $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install } diff -r 37105c976ab8 -r 65d3dfc87776 mISDNuser/receipt --- a/mISDNuser/receipt Sat Oct 11 21:19:51 2008 +0000 +++ b/mISDNuser/receipt Sun Oct 12 09:55:00 2008 +0000 @@ -15,10 +15,11 @@ compile_rules() { cd $src - patch -p1 < ../stuff/Makefile.u + [ -f done.Makefile.u ] || patch -p1 < ../stuff/Makefile.u + touch done.Makefile.u ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man $CONFIGURE_ARGS - make + --mandir=/usr/share/man $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install } diff -r 37105c976ab8 -r 65d3dfc87776 module-init-tools/receipt --- a/module-init-tools/receipt Sat Oct 11 21:19:51 2008 +0000 +++ b/module-init-tools/receipt Sun Oct 12 09:55:00 2008 +0000 @@ -15,12 +15,13 @@ compile_rules() { cd $src - patch -p1 < ../stuff/lzlib.u + [ -f done.lzlib.u ] || patch -p1 < ../stuff/lzlib.u + touch done.lzlib.u ./configure --enable-zlib --prefix=/usr \ --sbindir=/sbin --bindir=/bin --sysconfdir=/etc \ --infodir=/usr/share/info --mandir=/usr/share/man \ - $CONFIGURE_ARGS - make + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install } diff -r 37105c976ab8 -r 65d3dfc87776 qemu/receipt --- a/qemu/receipt Sat Oct 11 21:19:51 2008 +0000 +++ b/qemu/receipt Sun Oct 12 09:55:00 2008 +0000 @@ -15,13 +15,14 @@ compile_rules() { cd $src - patch -p1 < ../stuff/virtio.u + [ -f done.virtio.u ] || patch -p1 < ../stuff/virtio.u + touch done.virtio.u #./configure --prefix=/usr --enable-alsa --disable-gfx-check \ ./configure --prefix=/usr --enable-alsa \ --host-cc=gcc-3 --cc=gcc-3 \ - --target-list="i386-softmmu,x86_64-softmmu" - make + --target-list="i386-softmmu,x86_64-softmmu" && + make && make DESTDIR=$PWD/_pkg install } diff -r 37105c976ab8 -r 65d3dfc87776 rox-filer/receipt --- a/rox-filer/receipt Sat Oct 11 21:19:51 2008 +0000 +++ b/rox-filer/receipt Sun Oct 12 09:55:00 2008 +0000 @@ -15,7 +15,9 @@ compile_rules() { echo "patch" - patch $src/ROX-Filer/src/menu.c stuff/menu.diff + [ -f done.menu.diff ] || + patch $src/ROX-Filer/src/menu.c stuff/menu.diff + touch done.menu.diff echo "compile" $src/ROX-Filer/AppRun --compile echo "mkdir" diff -r 37105c976ab8 -r 65d3dfc87776 xpat2/receipt --- a/xpat2/receipt Sat Oct 11 21:19:51 2008 +0000 +++ b/xpat2/receipt Sun Oct 12 09:55:00 2008 +0000 @@ -15,11 +15,14 @@ compile_rules() { cd $src - patch -p1 < ../stuff/xpat2.patch - patch -p1 < ../stuff/layout.patch + for i in xpat2.patch layout.patch ; do + [ -f done.$i ] && continue + patch -p1 < ../stuff/$i + touch done.$i + done cd src cp ../../stuff/Makefile . - make + make && make DESTDIR=../_pkg install }