[MacPorts] PortfileRecipes modified

MacPorts noreply at macports.org
Sat Jul 6 00:39:49 PDT 2013


Page "PortfileRecipes" was changed by ryandesign at macports.org
Diff URL: <https://trac.macports.org/wiki/PortfileRecipes?action=diff&version=65>
Revision 65
Comment: use eq for string comparisons
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: PortfileRecipes
=========================================================================
--- PortfileRecipes (version: 64)
+++ PortfileRecipes (version: 65)
@@ -294,9 +294,9 @@
 If your port works with neither clang nor llvm-gcc-4.2, use gcc-4.2; since on Xcode 4.2 and up (i.e. where the default compiler is clang) there is no included version of gcc-4.2, use apple-gcc-4.2 in that case. Use of this block should be considered a temporary stopgap measure. Please file a bug report with the upstream developers of the software so they can fix it to work with clang and llvm-gcc-4.2. Put a reference to the upstream bug report in the Portfile.
 
 {{{
-if {${configure.compiler} == "llvm-gcc-4.2"} {
+if {${configure.compiler} eq "llvm-gcc-4.2"} {
     configure.compiler gcc-4.2
-} elseif {${configure.compiler} == "clang"} {
+} elseif {${configure.compiler} eq "clang"} {
     depends_build-append port:apple-gcc42
     depends_skip_archcheck-append apple-gcc42
     configure.compiler apple-gcc-4.2
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/PortfileRecipes>
MacPorts <http://www.macports.org/>
Ports system for OS X

This is an automated message. Someone added your email address to be
notified of changes on 'PortfileRecipes' page.
If it was not you, please report to .


More information about the macports-changes mailing list