Portfile question

Ryan Schmidt ryandesign at macports.org
Fri Apr 10 21:25:13 PDT 2015


On Apr 10, 2015, at 8:05 PM, Edward Maros wrote:

> I need to make sure a port is deactive when I build my package. If it is
> active, I would like to deactivate it for building of my package and
> then reactivate it once my package is built. What sections should I
> modify and what code do I need to accomplish this task.

Use the conflicts_build portgroup. MacPorts will not deactivate the port for the user and reactivate the port again, but rather will print a message explaining to the user that they must do this manually.




More information about the macports-dev mailing list