[BACK]Return to patch-m4_sparcv8+.m4 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / m4 / patches

File: [cvs.NetBSD.org] / pkgsrc / devel / m4 / patches / patch-m4_sparcv8+.m4 (download)

Revision 1.1, Mon Nov 15 13:20:04 2021 UTC (2 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, HEAD

m4: fix building on sparcv8

from John D. Baker in PR pkg/56498

$NetBSD: patch-m4_sparcv8+.m4,v 1.1 2021/11/15 13:20:04 nia Exp $

pkg/56498: "devel/m4" build fails on netbsd-9/sparc

--- m4/sparcv8+.m4.orig	2021-04-22 20:28:47.000000000 +0000
+++ m4/sparcv8+.m4
@@ -30,7 +30,7 @@ AC_DEFUN([gl_SPARC_V8PLUS],
              [gl_cv_sparc_v8plus=yes],
              [gl_cv_sparc_v8plus=no])
           ])
-        if test $gl_cv_sparc_v8plus = no; then
+        if test $gl_cv_sparc_v8plus != no; then
           dnl Strangely enough, '-mv8plus' does not have the desired effect.
           dnl But '-mcpu=v9' does.
           CC="$CC -mcpu=v9"