wok diff gajim/receipt @ rev 3573

Update: apply patch once. ssmtp: fix post_install link target path. scim: fix chroot in post_install.
pa
author Liu Peng <rocky@slitaz.org>
date Fri Jun 26 00:18:25 2009 +0800 (2009-06-26)
parents f88cf39e28c3
children 9107c12aad0a
line diff
     1.1 --- a/gajim/receipt	Tue Jun 23 12:11:03 2009 +0800
     1.2 +++ b/gajim/receipt	Fri Jun 26 00:18:25 2009 +0800
     1.3 @@ -15,7 +15,14 @@
     1.4  compile_rules()
     1.5  {
     1.6      cd $src
     1.7 -    patch -p1 < ../stuff/host_srv.patch &&
     1.8 +    while read file; do
     1.9 +        [ -f done.$file ] && continue
    1.10 +        echo "Apply $file..."
    1.11 +        patch -p1 < ../stuff/$file || return 1
    1.12 +        touch done.$file
    1.13 +    done <<EOT
    1.14 +host_srv.patch
    1.15 +EOT
    1.16      ./configure --prefix=/usr \
    1.17          --mandir=/usr/share/man \
    1.18          $CONFIGURE_ARGS &&