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


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to