openbsd-ports/www/fennec/patches/patch-build_unix_run-mozilla_sh
2012-02-20 20:21:43 +00:00

32 lines
835 B
Plaintext

$OpenBSD: patch-build_unix_run-mozilla_sh,v 1.4 2012/02/20 20:21:43 landry Exp $
find our gdb by default
--- build/unix/run-mozilla.sh.orig Thu Nov 4 21:05:18 2010
+++ build/unix/run-mozilla.sh Sat Nov 13 12:00:19 2010
@@ -103,25 +103,7 @@ moz_test_binary()
##########################################################################
moz_get_debugger()
{
- debuggers="ddd gdb dbx bdb native-gdb"
- debugger="notfound"
- done="no"
- for d in $debuggers
- do
- moz_test_binary /bin/which
- if [ $? -eq 1 ]
- then
- dpath=`which ${d}`
- else
- dpath=`LC_MESSAGES=C type ${d} | awk '{print $3;}' | sed -e 's/\.$//'`
- fi
- if [ -x "$dpath" ]
- then
- debugger=$dpath
- break
- fi
- done
- echo $debugger
+ echo "/usr/bin/gdb"
return 0
}
##########################################################################