[MacPorts] #42872: cmake PortGroup: don't add -I${prefix}/include to CXXFLAGS

MacPorts noreply at macports.org
Mon Mar 31 11:39:31 PDT 2014


#42872: cmake PortGroup: don't add -I${prefix}/include to CXXFLAGS
----------------------+--------------------------------
  Reporter:  mojca@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  clhep    |
----------------------+--------------------------------

Comment (by mojca@…):

 The position of `-I$prefix` comes so early in the `Makefile` because of
 `$C(XX)FLAGS`. The author of software has some influence on that order and
 could in principle make sure that other paths come in front. But on the
 other hand it's also somewhat true that one could add the include path to
 other variables instead of `$CXXFLAGS`.

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


More information about the macports-tickets mailing list