pkgsrc/devel/gdb/patches/patch-ao
bsiegert 3e2ee61df1 Move wip/gdb (version 7.9) over the 5.x version that has been here for a
long time and that does not even support amd64. The old gdb version, for
those with a penchant for historic software, can be found as devel/gdb5.
2015-03-15 14:56:46 +00:00

16 lines
592 B
Text

$NetBSD: patch-ao,v 1.2 2015/03/15 14:56:46 bsiegert Exp $
Avoid following ERROR:
ERROR: [check-portability.awk] gdb/config/djgpp/djconfig.sh: if test "`pwd`" == "${srcdir}" ; then
--- gdb/config/djgpp/djconfig.sh.orig 2015-02-19 11:58:07.000000000 +0000
+++ gdb/config/djgpp/djconfig.sh
@@ -92,7 +92,7 @@ TMPFILE="${TMPDIR-.}/cfg.tmp"
# We need to skip the build directory if it is a subdirectory of $srcdir,
# otherwise we will have an infinite recursion on our hands...
-if test "`pwd`" == "${srcdir}" ; then
+if test "`pwd`" = "${srcdir}" ; then
SKIPDIR=""
SKIPFILES=""
else