Subject: pkg/35230: devel/cpuflags assumes gcc
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 12/10/2006 23:35:01
>Number:         35230
>Category:       pkg
>Synopsis:       devel/cpuflags assumes gcc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 10 23:35:01 +0000 2006
>Originator:     Dan McMahill
>Release:        NetBSD 2.0_STABLE
System: NetBSD bondage 2.0_STABLE NetBSD 2.0_STABLE (BONDAGE) #0: Tue Mar 29 13:12:53 EST 2005 dan@bondage:/export/disk2/netbsd-2/obj/alpha/sys/arch/alpha/compile/BONDAGE alpha
Architecture: alpha
Machine: alpha

# cpuflags /opt/SUNWspro/bin/cc
cc: Warning: illegal option -dumpversion
usage: cc [ options] files.  Use 'cc -flags' for details

# cpuflags gcc

see above
add some logic for sunpro making sure the result works correctly with the
compiler wrappers in pkgsrc.