Opened 12 years ago

Last modified 4 years ago

#19710 assigned enhancement

[gcc44] Need finer-grained language selection

Reported by: dave@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: krischik@…
Port: gcc44

Description

installing or upgrading gccXY takes forever, because it installs languages like java, fortran, and Ada about which I don't necessarily care. The port should include an option that sets --enable-languages=... on the configure line. For me, that would be --enable-languages=c,c++

Thanks!

Change History (9)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mww@…

comment:2 Changed 12 years ago by blb@…

Note that until #126 is fixed, using variants for handling various languages won't be good for dependents. For example, any port which needs gcc44 for gfortran won't get that if the fortran handling is moved into a +fortran variant.

comment:3 Changed 12 years ago by krischik@…

Cc: krischik@… added

Cc Me!

comment:4 Changed 12 years ago by dave@…

OK, understood. I don't really care how it's handled, but there oughta be a way.

comment:5 Changed 12 years ago by mww@…

Well, as far as I can see, your choices are more or less:
a.) Edit the Portfile (port edit gcc44) prior to each upgrade
b.) Specify the configure.args argument from the command line (port install gcc configure.args="--languages=c,c++ --libdir=/opt/local/lib/gcc44 --.......")
c.) Wait patiently for each build
d.) Hack port(1) to add some feature that solves this problem

comment:6 Changed 12 years ago by dave@…

Thanks; I like option b and didn't know about it, or about option a. Maybe in the meantime the port maintainers could add a note about that to the port's description.

comment:7 Changed 12 years ago by jmroot (Joshua Root)

There shouldn't be a problem adding e.g. a no_fortran variant, should there? Of course selecting it is done at your own risk and you have to promise not to file tickets when dependents that need fortran fail. ;-)

comment:8 Changed 10 years ago by jmroot (Joshua Root)

Probably separate gcjXY and gfortranXY ports would be best.

comment:9 Changed 4 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from mww@… to macports-tickets@…
Status: newassigned
Note: See TracTickets for help on using tickets.