pkgsrc-Bugs archive

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

pkg/40148: graphics/py-cairo, Solaris 10 and GCC 3



>Number:         40148
>Category:       pkg
>Synopsis:       graphics/py-cairo, Solaris 10 and GCC 3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 10 14:40:00 +0000 2008
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
SunOS spare4200 5.10 Generic_120012-14 i86pc i386 i86pc

>Description:
The Makefile of graphics/py-cairo removes the option "-std=c99", when GCC 2.xy 
is used. With Solaris 10, the same fix is necessary for GCC 3.4.6.
>How-To-Repeat:

>Fix:
A very specific fix would be

--- Makefile    2008/12/10 14:17:15     1.1
+++ Makefile    2008/12/10 14:28:04
@@ -24,7 +24,7 @@
 
 .include "../../mk/compiler.mk"
 
-.if !empty(CC_VERSION:Mgcc-2*)
+.if !empty(CC_VERSION:Mgcc-2*) || (${OPSYS} == "SunOS" && 
!empty(CC_VERSION:Mgcc-3*))
 BUILDLINK_TRANSFORM+=  rm:-std=c99
 .endif

Maybe a more generalized version is possible.



Home | Main Index | Thread Index | Old Index