[MacPorts] PortfileRecipes modified
MacPorts
noreply at macports.org
Mon May 2 19:11:51 PDT 2011
Changed page "PortfileRecipes" by ryandesign at macports.org from 70.253.69.7*
Page URL: <https://trac.macports.org/wiki/PortfileRecipes>
Diff URL: <https://trac.macports.org/wiki/PortfileRecipes?action=diff&version=27>
Revision 27
Comment: use more modern gcc versions in example
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: PortfileRecipes
=========================================================================
--- PortfileRecipes (version: 26)
+++ PortfileRecipes (version: 27)
@@ -245,23 +245,23 @@
Therefore, ports that need to use a gcc port, but aren't picky about exactly which one, are encouraged to offer variants:
{{{
-variant gcc42 conflicts gcc43 gcc44 description {Compile with gcc42} {
- configure.compiler macports-gcc-4.2
- depends_lib-append port:gcc42
-}
-
-variant gcc43 conflicts gcc42 gcc44 description {Compile with gcc43} {
+variant gcc43 conflicts gcc44 gcc45 description {Compile with gcc 4.3} {
configure.compiler macports-gcc-4.3
depends_lib-append port:gcc43
}
-variant gcc44 conflicts gcc42 gcc43 description {Compile with gcc44} {
+variant gcc44 conflicts gcc43 gcc45 description {Compile with gcc 4.4} {
configure.compiler macports-gcc-4.4
depends_lib-append port:gcc44
}
-if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44]} {
- default_variants +gcc44
+variant gcc45 conflicts gcc43 gcc44 description {Compile with gcc 4.5} {
+ configure.compiler macports-gcc-4.5
+ depends_lib-append port:gcc45
+}
+
+if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45]} {
+ default_variants +gcc45
}
}}}
-------8<------8<------8<------8<------8<------8<------8<------8<--------
* The IP shown here might not mean anything if the user or the server is
behind a proxy.
--
MacPorts <http://www.macports.org/>
Ports system for Mac OS
This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on PortfileRecipes. If it was not you, please
report to .
More information about the macports-changes
mailing list