$OpenBSD: patch-Crack,v 1.3 2001/11/19 21:48:37 jsyn Exp $ --- Crack.orig Sat Dec 21 02:09:41 1996 +++ Crack Mon Mar 12 16:17:16 2001 @@ -42,8 +42,7 @@ C5FLAGS="-DUSE_STRING_H -DUSE_STDLIB_H - # # vanilla unix cc -CC=cc -CFLAGS="-g -O $C5FLAGS" +CFLAGS="$CFLAGS $C5FLAGS" #LIBS=-lcrypt # uncomment only if necessary to use stdlib crypt(), eg: NetBSD MD5 # gcc 2.7.2 @@ -279,23 +278,11 @@ fi # Sanity test bindir - written in gruntscript for clarity. ### -bdname=`scripts/binstamp 2>/dev/null` - -if [ "x$bdname" = "x" ] -then - echo "Crack: error: cannot continue as binstamp returned empty string" 1>&2 - exit 0 -fi - -echo "Stamp: $bdname" -echo "" - - if [ "x$1" != "x" ] then if [ "$1" = "-fmt" ] # use generic name then - bindir=run/bin/$bdname + bindir=run/bin elif [ -d run/bin/$1 ] # have been here before then bindir=run/bin/$1 @@ -305,20 +292,20 @@ then bindir=run/bin/$1 shift else # use generic name - bindir=run/bin/$bdname + bindir=run/bin fi else # supporting "-makeonly" if [ "$makeonlyflag" != "" ] then - bindir=run/bin/$bdname + bindir=run/bin elif [ "$makedictflag" != "" ] then - bindir=run/bin/$bdname + bindir=run/bin elif [ "$remoteflag" != "" ] then - bindir=run/bin/$bdname + bindir=run/bin else echo $usage 1>&2 exit 1