pkgsrc-Bugs archive

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

pkg/41303: lang/g95 needs to be hooked into compiler framework

>Number:         41303
>Category:       pkg
>Synopsis:       lang/g95 needs to be hooked into compiler framework
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 29 11:25:00 +0000 2009
>Originator:     Dan McMahill
>Release:        NetBSD 5.0
System: NetBSD slashing 5.0 NetBSD 5.0 (SLASHING) #2: Mon Apr 27 07:14:43 EDT 
2009 root@slashing:/usr/cvs/obj.i386/sys/arch/i386/compile/SLASHING i386
Architecture: i386
Machine: i386

Some numerical libraries and other numerical tools need a fortran 90 or 95 
compiler.  Currently 
NetBSD does not ship gfortran as part of the compiler set.  lang/g95 exists in 
pkgsrc but there
doesn't appear to be a simple mk.conf variable that will pick g95 as the pkgsrc 

This has real consequences for the useability of g95 because the fortran name 
mangling (leading/trailing
underscores) in f2c may be different than g95 and that can cause all sorts of 
headaches if you
try to mix pkgsrc-built libs with something outside of pkgsrc that uses g95.

Try to build something that uses fortran 90 language features, find that it is 
a pain
because the supported pkgsrc fortran compiler is f2c.


add appropriate mk/compiler/* logic I think.  That part of pkgsrc is a bit of a 
mystery to me.


Home | Main Index | Thread Index | Old Index