gcc languages

Daniel J. Luke dluke at geeklair.net
Fri Dec 22 15:47:35 PST 2006


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 at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20061222/93333a0d/PGP.bin


More information about the macports-users mailing list