Subject: Re: pkg/33588 (build error in /graphics/glu)
To: None <solaris-pkg-people@NetBSD.org, gnats-admin@netbsd.org,>
From: None <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 06/01/2006 12:10:03
The following reply was made to PR pkg/33588; it has been noted by GNATS.

From: joerg@britannica.bec.de
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/33588 (build error in /graphics/glu)
Date: Thu, 1 Jun 2006 14:06:52 +0200

 On Thu, Jun 01, 2006 at 10:25:02AM +0000, Andreas Tannert wrote:
 >  I have a "fix":
 >  
 >  in /glu/work/Mesa-6.4.2/src/glu/sgi/Makefile change
 >  
 >  .c.o:                                                                                               
 >          ${LIBTOOL} --mode=compile \                                                        
 >          $(CC) -c $(INCDIRS) $(CFLAGS) -DNDEBUG -DLIBRARYBUILD $< -o $@                              
 >                                                                                                      
 >  .cc.o:                                                                                              
 >          ${LIBTOOL} --mode=compile \                                                       
 >          $(CXX) -c $(INCDIRS) $(CXXFLAGS) -DNDEBUG -DLIBRARYBUILD $< -o $@
 >          
 >  to        
 >  
 >  .c.o:                                                                                               
 >          ${LIBTOOL} --tag=CC --mode=compile \                                                        
 >          $(CC) -c $(INCDIRS) $(CFLAGS) -DNDEBUG -DLIBRARYBUILD $< -o $@                              
 >                                                                                                      
 >  .cc.o:                                                                                              
 >          ${LIBTOOL} --tag=CXX --mode=compile \                                                       
 >          $(CXX) -c $(INCDIRS) $(CXXFLAGS) -DNDEBUG -DLIBRARYBUILD $< -o $@
 
 Hm. This shouldn't be necessary, unless libtool was build for a
 different compiler than gcc. Is that by any chance the case?
 
 Joerg