openbsd-ports/net/gtk-gnutella/patches/patch-Configure
2010-08-29 19:34:43 +00:00

47 lines
1.1 KiB
Plaintext

$OpenBSD: patch-Configure,v 1.15 2010/08/29 19:34:43 jasper Exp $
--- Configure.orig Sun Mar 21 14:37:05 2010
+++ Configure Sun Aug 29 19:58:38 2010
@@ -321,7 +321,7 @@ d_nanosleep=''
d_nls=''
d_open3=''
d_poll=''
-d_portable=''
+d_portable='define'
d_posix_fadvise=''
d_posix_memalign=''
d_pread=''
@@ -1124,7 +1124,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"
@@ -4326,7 +4326,7 @@ case "$d_dbus" in
echo "(I'll use '$dbusconfig' to gather that information.)" >&4
: Make sure we have a good enough version
- version=`$dbusconfig $modver`
+ version=``
case "$version" in
'') ;;
*)
@@ -9504,15 +9504,6 @@ If you'd like to make any changes to the config.sh fil
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