openbsd-ports/net/gtk-gnutella/patches/patch-Configure
jasper f024b57a92 - update gtk-gnutella to 0.96.6
* lots of improvements and bugfixes
2009-04-27 11:57:18 +00:00

47 lines
1.1 KiB
Plaintext

$OpenBSD: patch-Configure,v 1.13 2009/04/27 11:57:18 jasper Exp $
--- Configure.orig Sun Apr 26 20:09:45 2009
+++ Configure Sun Apr 26 20:11:39 2009
@@ -320,7 +320,7 @@ d_nanosleep=''
d_nls=''
d_open3=''
d_poll=''
-d_portable=''
+d_portable='define'
d_posix_fadvise=''
d_posix_memalign=''
d_pread=''
@@ -1122,7 +1122,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"
@@ -4325,7 +4325,7 @@ case "$d_dbus" in
echo "(I'll use '$dbusconfig' to gather that information.)"
: Make sure we have a good enough version
- version=`$dbusconfig $modver`
+ version=``
case "$version" in
'') ;;
*)
@@ -9351,15 +9351,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