Subject: Re: pkg/29185
To: None <hubertf@netbsd.org, gnats-admin@netbsd.org,>
From: Hubert Feyrer <hubert@feyrer.de>
List: pkgsrc-bugs
Date: 02/03/2005 01:00:04
The following reply was made to PR pkg/29185; it has been noted by GNATS.

From: Hubert Feyrer <hubert@feyrer.de>
To: Richard Braun <syn@sceen.net>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/29185
Date: Thu, 3 Feb 2005 01:58:52 +0100 (CET)

 [please leave gnats-gugs@NetBSD.org on CC:!]
 
 
 On Thu, 3 Feb 2005, Richard Braun wrote:
 >> .if !empty(MACHINE_ARCH:Msparc64)
 >> GCC_REQD+=    2.95
 >> .endif
 ...
 > Unfortunately, neither of the above solved the problem. I added the change
 > at the end of the Makefile btw, should I have added it somewhere else ?
 > Would GCC_REQD += 3.0 force gcc 3 installation from pkgsrc (i'm asking
 > because it was not the case when I tried) ?
 
 it should install gcc from pkgsrc, yes.
 And the place to add it would be _above_ the ".include ... bsd.pkg.mk" 
 line. I'll append a patch for the Makefile below.
 
 
   - Hubert
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/chat/centericq/Makefile,v
 retrieving revision 1.44
 diff -u -r1.44 Makefile
 --- Makefile	3 Jan 2005 15:59:12 -0000	1.44
 +++ Makefile	3 Feb 2005 00:58:31 -0000
 @@ -38,6 +38,11 @@
   CPPFLAGS+=		-DAUDIO_PLAYER=\"\\\"${SOX_PREFIX}/bin/play\\\"\"
   .endif
 
 +# PR 29185
 +.if !empty(MACHINE_ARCH:Msparc64)
 +GCC_REQD+=    2.95
 +.endif
 +
   .include "../../converters/libiconv/buildlink3.mk"
   .include "../../devel/gettext-lib/buildlink3.mk"
   .include "../../devel/ncurses/buildlink3.mk"
 
 -- 
 NetBSD - Free AND Open!      (And of course secure, portable, yadda yadda)