What's the proper way -- for a new ports user -- to alter the configure.args? I assume you download it somewhere locally, alter the profile, and do build from that source a lá src rpm? An outline of steps/options would be instructive! Cheers, Alexy On 12/22/06, Yves de Champlain <yves@macports.org> wrote:
Le 06-12-22 à 04:55, Alexy Khrabrov a écrit :
What's the way to specify languages when I get gcc via macports? Specifically, I need Ada and Fortran.
gcc-4.1 is installed with configure.args --enable-languages=c,c+ +,java,objc,obj-c++,fortran
I don't know why ada is not included, but the only way to change this is to change this specific Portfile line (or add a variant)
yves
On Dec 22, 2006, at 6:33 PM, Alexy Khrabrov wrote:
What's the proper way -- for a new ports user -- to alter the configure.args? I assume you download it somewhere locally, alter the profile, and do build from that source a lá src rpm? An outline of steps/options would be instructive!
I would probably do it this way: % mkdir my_gcc_variant % cd my_gcc_variant % port cat gcc40 > Portfile #-- substituting whichever gcc port you actually want % vi Portfile #-- make changes here, including changing the port name to my_gcc_variant % sudo port install Changing the name of the port to something new means that if you do a port upgrade in the future and the original port doesn't incorporate your changes for whatever reason but is a newer version than the one you modified, it won't upgrade/overwrite your changes. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
On Dec 22, 2006, at 17:33, Alexy Khrabrov wrote:
On 12/22/06, Yves de Champlain wrote:
Le 06-12-22 à 04:55, Alexy Khrabrov a écrit :
What's the way to specify languages when I get gcc via macports? Specifically, I need Ada and Fortran.
gcc-4.1 is installed with configure.args --enable-languages=c,c+ +,java,objc,obj-c++,fortran
I don't know why ada is not included, but the only way to change this is to change this specific Portfile line (or add a variant)
What's the proper way -- for a new ports user -- to alter the configure.args? I assume you download it somewhere locally, alter the profile, and do build from that source a lá src rpm? An outline of steps/options would be instructive!
One way is to just "port edit gcc-4.1" and make the changes. They'll be overwritten the next time you "port sync".
participants (3)
-
Alexy Khrabrov
-
Daniel J. Luke
-
Ryan Schmidt