# HG changeset patch # User Pascal Bellard # Date 1223805437 0 # Node ID 26b57ae6bfb041dd7044ed3ebce6c2f001d19760 # Parent 65d3dfc87776db83a750444014025633cb69a18a db nbs: abort on wget failure diff -r 65d3dfc87776 -r 26b57ae6bfb0 db/receipt --- a/db/receipt Sun Oct 12 09:55:00 2008 +0000 +++ b/db/receipt Sun Oct 12 09:57:17 2008 +0000 @@ -17,13 +17,13 @@ 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 + wget http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1 || return 1 [ -f done.patch.4.5.20.1 ] || patch -p0 < patch.4.5.20.1 touch done.patch.4.5.20.1 cd build_unix ../dist/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 65d3dfc87776 -r 26b57ae6bfb0 nbs/receipt --- a/nbs/receipt Sun Oct 12 09:55:00 2008 +0000 +++ b/nbs/receipt Sun Oct 12 09:57:17 2008 +0000 @@ -14,11 +14,11 @@ cd $src for i in Makefile nbs.h nbscat.c nbscat8k nbsclient.c nbsd.c; do [ -f $i ] && continue - wget http://svn.digium.com/view/nbs/trunk/$i?view=co + wget http://svn.digium.com/view/nbs/trunk/$i?view=co || return 1 mv $i\?view=co $i [ -f ../stuff/$i.u ] && patch -p0 < ../stuff/$i.u done - make + make && make DESTDIR=$PWD/_pkg install }