pkgsrc-Bugs archive

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

Re: pkg/37019: [fix] lang/stalin doesn't build in current



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

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/37019: [fix] lang/stalin doesn't build in current
Date: Mon, 24 Sep 2007 21:38:56 +0900

 On Mon, 24 Sep 2007 00:35:04 +0900, Manuel Bouyer 
<bouyer%antioche.eu.or@localhost=
 g> wrote:
 
 > On Sun, Sep 23, 2007 at 02:33:16PM +0400, Aleksej Saushev wrote:
 >> "OBATA Akio" <obache%netbsd.org@localhost> writes:
 >>
 >> >  Added follwing line to lang/stalin/Makefile also fixes this proble=
 m?
 >> >
 >> >  CPPFLAGS+=3D3D   -I${BUILDLINK_PREFIX.boehm-gc}/include/gc
 >>
 >> Except for optimisation flags, I still have to add "CFLAGS=3D-O0".
 >
 > I can confirm this. In the i386 and amd64 bulk builds I have to kill
 > the cc process, because it seems to make no progress after several 10s=
 
 > of hours running.
 >
 > more specifically, it builds fine on i386 2.1 and 3.1, it fails on
 > i386 4.0 and amd64 2.1, 3.1 and 4.0
 
 Then, Is it OK to commit followin patch?
 
 Index: Makefile
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /cvsroot/pkgsrc/lang/stalin/Makefile,v
 retrieving revision 1.31
 diff -u -r1.31 Makefile
 --- Makefile    23 Sep 2007 15:30:23 -0000      1.31
 +++ Makefile    24 Sep 2007 12:31:41 -0000
 @@ -17,8 +17,8 @@
 
   .include "../../mk/bsd.prefs.mk"
 
 -.if (${MACHINE_ARCH} =3D=3D "sparc")
 -CFLAGS:=3D               ${CFLAGS:C/-O[0-9]*/-O0/}
 +.if (${MACHINE_ARCH} =3D=3D "sparc") || (${MACHINE_ARCH} =3D=3D "amd64"=
 ) || (${MACHINE_ARCH} =3D=3D "i386" && ${OS_VERSION:R} >=3D 4)
 +BUILDLINK_TRANSFORM+=3D  rename:-O[0-9]*:-O0
   .endif
   CPPFLAGS+=3D             -I${BUILDLINK_PREFIX.boehm-gc}/include/gc
 



Home | Main Index | Thread Index | Old Index