pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



The following reply was made to PR pkg/56498; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%consolidated.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/56498: "devel/m4" build fails on netbsd-9/sparc
Date: Sun, 14 Nov 2021 11:18:47 -0600 (CST)

 The following patch allows a successful build on sparc:
 
 +--- configure.orig	2021-11-14 09:54:26.066002850 -0600
 ++++ configure	2021-11-14 09:55:14.061722618 -0600
 +@@ -8835,7 +8835,7 @@ rm -f core conftest.err conftest.$ac_obj
 + fi
 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sparc_v8plus" >&5
 + printf "%s\n" "$gl_cv_sparc_v8plus" >&6; }
 +-        if test $gl_cv_sparc_v8plus = no; then
 ++        if test $gl_cv_sparc_v8plus != no; then
 +                               CC="$CC -mcpu=v9"
 +           CXX="$CXX -mcpu=v9"
 +         fi
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index