openbsd-ports/net/gtk-gnutella/patches/patch-Configure

47 lines
1.1 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-Configure,v 1.12 2007/09/02 17:02:10 jasper Exp $
--- Configure.orig Fri Aug 31 13:47:15 2007
+++ Configure Fri Aug 31 13:51:16 2007
@@ -317,7 +317,7 @@ d_msghdr_msg_flags=''
d_nls=''
d_open3=''
2007-01-07 13:25:43 -05:00
d_poll=''
-d_portable=''
+d_portable='define'
d_posix_fadvise=''
2007-01-07 13:25:43 -05:00
d_posix_memalign=''
d_pread=''
@@ -3603,7 +3603,7 @@ for file in $*; do
dir=`expr X$file : 'X\(.*\)/'`
file=`expr X$file : 'X.*/\(.*\)'`
2004-09-20 16:12:11 -04:00
./mkdirp $dir
- sh <"$SRC/$dir/$file"
+ cd $dir && sh $SRC/$dir/$file
;;
*)
2004-09-20 16:12:11 -04:00
sh <"$SRC/$file"
@@ -4303,7 +4303,7 @@ case "$d_dbus" in
echo "(I'll use '$dbusconfig' to gather that information.)"
2007-01-07 13:25:43 -05:00
?X: Make sure we have a good enough version
- version=`$dbusconfig $modver`
+ version=``
case "$version" in
'') ;;
*)
@@ -9199,15 +9199,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