[MacPorts] #33259: cmake portgroup: out of source build option, possibly by default

MacPorts noreply at macports.org
Wed Mar 18 09:55:36 PDT 2015


#33259: cmake portgroup: out of source build option, possibly by default
---------------------------+--------------------------------
  Reporter:  ryandesign@…  |      Owner:  macports-tickets@…
      Type:  enhancement   |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:                |
---------------------------+--------------------------------

Comment (by larryv@…):

 Replying to [comment:31 mojca@…]:
 > The only thing I'm not sure about is whether the default for the
 > option should be `yes` or `no`. We can do a bold move and then quickly
 > fix whatever port breaks.

 I’m with Michael on this. We should not risk breaking ports intentionally.

 > Or we could be on the safe side, but then have a lot more work to do
 > (setting the value to `yes` in every port, switch the default once all
 > the ports are tested, then remove the option from all the ports
 > again).

 Or we could actually make use of the portgroup version number. With a
 `cmake-1.1` portgroup that enables out-of-source builds by default, we’d
 still have to migrate ports one at a time, but we’d need just one pass to
 update the `PortGroup` command and remove obsolete workarounds. I have
 this set up locally, and it seems to work fine. I’d like to commit it this
 week if no one has any objections to this migration strategy.

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


More information about the macports-tickets mailing list