[MacPorts] #34562: CC, CXX, OBJC, LDFLAGS, CFLAGS, CXXFLAGS, OBJCFLAGS should be set during destroot

MacPorts noreply at macports.org
Tue Nov 12 05:32:15 PST 2013


#34562: CC, CXX, OBJC, LDFLAGS, CFLAGS, CXXFLAGS, OBJCFLAGS should be set during
destroot
-------------------------------+--------------------------------
  Reporter:  david.w.watson@…  |      Owner:  macports-tickets@…
      Type:  defect            |     Status:  new
  Priority:  High              |  Milestone:  MacPorts Future
 Component:  base              |    Version:  2.1.1
Resolution:                    |   Keywords:
      Port:                    |
-------------------------------+--------------------------------

Comment (by michaelld@…):

 Setting all of these variables during destroot would, I would guess,
 positively impact only a very small subset of all ports; and, it might
 negatively impact any number of ports. In my experience, this subset
 contains a bunch of Python ports such as SciPy and NumPy, but I'm sure
 there are other, non-Python ports too which require at least a few of
 these. That said, if I look at all of the ports I maintain or will be
 shortly, maybe 5% of them actually require these flags. I'd prefer to not
 have to deal with these flags otherwise, since they might impact the
 install of currently well-working ports; flags are used internally in
 strange, sometimes unexpected ways, such as what I found out yesterday
 about not including LD archflags during configure in qt4-mac, because
 qmake somehow internalizes them (and, I looked through the qmake source
 code and can't figure out where it is). So, my vote is to require
 including these on a port-by-port basis, not globally; I'd rather have to
 opt-in than opt-out.

-- 
Ticket URL: <https://trac.macports.org/ticket/34562#comment:19>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list