# HG changeset patch # User Pascal Bellard # Date 1236685965 0 # Node ID 7497302416692dc972f5bf0d654379584c28e343 # Parent ec72a3b325c38f7cd5a43f74429b54b4245d5e85 bristuff, squashfs, db: check for patch package diff -r ec72a3b325c3 -r 749730241669 bristuff/receipt --- a/bristuff/receipt Tue Mar 10 11:36:32 2009 +0100 +++ b/bristuff/receipt Tue Mar 10 11:52:45 2009 +0000 @@ -42,6 +42,10 @@ # Rules to configure and make the package. compile_rules() { + if [ -L $(which patch) ]; then + echo "Please reinstall patch !" + return 1 + fi if [ ! -d ../linux/taz ]; then tazwok cook linux fi diff -r ec72a3b325c3 -r 749730241669 db/receipt --- a/db/receipt Tue Mar 10 11:36:32 2009 +0100 +++ b/db/receipt Tue Mar 10 11:52:45 2009 +0000 @@ -14,7 +14,10 @@ # Rules to configure and make the package. compile_rules() { - + if [ -L $(which patch) ]; then + echo "Please reinstall patch !" + return 1 + fi ln -s $PACKAGE-$VERSION.NC $src cd $src wget http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1 || return 1 diff -r ec72a3b325c3 -r 749730241669 squashfs/receipt --- a/squashfs/receipt Tue Mar 10 11:36:32 2009 +0100 +++ b/squashfs/receipt Tue Mar 10 11:52:45 2009 +0000 @@ -31,6 +31,10 @@ local kver local patch_dir + if [ -L $(which patch) ]; then + echo "Please reinstall patch !" + return 1 + fi mkdir -p $src cd $src mv ../$PACKAGE$VERSION . 2> /dev/null