summaryrefslogtreecommitdiff
path: root/devel/gdb7/patches/patch-ao
blob: 0331609b1e009ee50338773b434e418076b75afc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$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