[MacPorts] #37235: gobject-introspection 1.34.1.1 ignores configure.cc and chooses gcc compiler

MacPorts noreply at macports.org
Fri Dec 7 17:50:16 PST 2012


#37235: gobject-introspection 1.34.1.1 ignores configure.cc and chooses gcc
compiler
------------------------------------+--------------------
  Reporter:  thijsvermeir@…         |      Owner:  cal@…
      Type:  defect                 |     Status:  closed
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.1.2
Resolution:  fixed                  |   Keywords:
      Port:  gobject-introspection  |
------------------------------------+--------------------

Comment (by ryandesign@…):

 Replying to [comment:3 cal@…]:
 > Thanks for the patch, commited in r100297.
 >
 > I've previously fixed this in other ports by setting `$CC`; it might
 still be preferable to set `$CC` because the compiler used in a dependent
 port might not be the one used when building `gobject-introspection`.

 Yes, we still need to set CC at build time in every port using gobject-
 introspection. Consider a user who is on Snow Leopard with Xcode 4.2
 (which does not provide /usr/bin/gcc-4.2) and he receives a binary of
 gobject-introspection as compiled by our Snow Leopard buildbot, which runs
 Xcode 3.2.6 and therefore defaults to /usr/bin/gcc-4.2.

 The only thing committing this patch does is make it harder for us to
 realize when we need to set CC other ports. Previously, following the
 instructions at UsingTheRightCompiler would allow you to discover the
 problem on any system; now, it's only discoverable on the above rare
 configuration.

-- 
Ticket URL: <https://trac.macports.org/ticket/37235#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list