pkgsrc/devel/gdb7/patches/patch-ao

16 lines
588 B
Text

$NetBSD: patch-ao,v 1.1 2017/06/05 10:41:28 maya 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