$OpenBSD: patch-Configure,v 1.4 2004/12/26 16:24:49 sturm Exp $
--- Configure.orig	Sat Nov 27 17:37:39 2004
+++ Configure	Sun Dec 26 11:24:15 2004
@@ -308,7 +308,7 @@ d_keepsig=''
 d_memcpy=''
 d_nls=''
 d_open3=''
-d_portable=''
+d_portable='define'
 d_random=''
 d_sendfile=''
 d_srandom=''
@@ -1031,7 +1031,7 @@ for file in $*; do
 			dir=`expr X$file : 'X\(.*\)/'`
 			file=`expr X$file : 'X.*/\(.*\)'`
 			./mkdirp $dir
-			sh <"$SRC/$dir/$file"
+			cd $dir && sh $SRC/$dir/$file
 			;;
 		*)
 			sh <"$SRC/$file"
@@ -6574,15 +6574,6 @@ If you'd like to make any changes to the
 to configure things, do it as a shell escape now (e.g. !vi config.sh).
 
 EOM
-	rp="Press return or use a shell escape to edit config.sh:"
-	. UU/myread
-	nostick=''
-	case "$ans" in
-	'') ;;
-	*) : in case they cannot read
-		sh 1>&4 -c "$ans";;
-	esac
-	;;
 esac
 
 : if this fails, just run all the .SH files by hand
