openbsd-ports/www/firefox36/patches/patch-build_unix_run-mozilla_sh
landry 17b63192b8 Resurrect www/firefox36 from the Attic, installing 3.6.16 in
${LOCALBASE}/firefox36 with firefox36 binary. Needed for archs
firefox 4 doesn't support (yet?). Yes, i'm looking at you sparc64.
Not yet linked to the build.
2011-03-26 10:58:36 +00:00

32 lines
824 B
Plaintext

$OpenBSD: patch-build_unix_run-mozilla_sh,v 1.1 2011/03/26 10:58:36 landry Exp $
find our gdb by default
--- build/unix/run-mozilla.sh.orig Wed Oct 27 12:58:19 2010
+++ build/unix/run-mozilla.sh Wed Oct 27 12:58:41 2010
@@ -105,25 +105,7 @@ moz_test_binary()
##########################################################################
moz_get_debugger()
{
- debuggers="ddd gdb dbx bdb"
- 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
}
##########################################################################