$NetBSD: patch-ae,v 1.1 2005/02/13 20:36:11 tron Exp $ --- Setup.orig 1999-03-24 23:00:00.000000000 +0000 +++ Setup 2005-02-13 20:34:12.000000000 +0000 @@ -36,50 +36,11 @@ read foo VERS="5.003" -PERL= - -echo "Locating Perl 5..." -for dir in `echo $PATH | sed -e 's/:/ /g'` -do - for cmd in perl5 perl - do - if [ -n "$dir" -a -x "$dir/$cmd" ] - then - MAYBE=`$dir/$cmd -e 'print $^X'` - - if [ "$MAYBE" != "" ] - then - `$MAYBE -e "eval{require $VERS}; \ - exit 0 if \\$@; exit 1"` - fi - - if [ $? -eq 1 ] - then - PERL=$MAYBE - break 2 - fi - fi - done -done - -# Now, either we've found the right version of Perl and we -# can continue, or we haven't and we should fail. -# - -if [ -z "$PERL" ] -then - cat< /tmp/pmgr-setup.pl < ${WRKDIR}/pmgr-setup.pl <