[MacPorts] #15571: request - uniform Portfile standard to handle the different possibilities of Fortran compilers
MacPorts
noreply at macports.org
Sat Mar 21 18:23:59 PDT 2009
#15571: request - uniform Portfile standard to handle the different possibilities
of Fortran compilers
-------------------------------------+--------------------------------------
Reporter: davidh@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.6.0
Keywords: fortran portgroup | Port:
-------------------------------------+--------------------------------------
Comment(by mcalhoun@…):
Replying to [comment:6 blb@…]:
> Automatically setting the variants as appropriate via a port group could
consist of taking a few arguments in a setup proc (like perl5 and haskell
groups), one being a list of which ports are supported for fortran (eg,
g95, gcc42, gcc43), the second being what to add to configure.args, and
the third what to delete from it. Then the group would manipulate
configure.args as appropriate and set configure.{f77|fc}, all in each
variant as needed.
It seems like most of the operations mentioned require as many lines of
code with a PortGroup framework as without one.[[BR]]
The exceptions being configure.{f77|fc|f90}, which, I will admit, is
somewhat of an annoyance to set for g95, gcc42, and gcc43.[[BR]]
Other than that, I am not quite sure I see what a PortGroup buys.
--
Ticket URL: <http://trac.macports.org/ticket/15571#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list