[MacPorts] #55469: snowleopard_fixes portgroup behavior changed, causing some ports to fail to build
MacPorts
noreply at macports.org
Tue Dec 5 10:19:14 UTC 2017
#55469: snowleopard_fixes portgroup behavior changed, causing some ports to fail to
build
-------------------------+-------------------
Reporter: ryandesign | Owner: kencu
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
-------------------------+-------------------
Comment (by ryandesign):
Ah yes. That won't work unless the portfile author sets
`snowleopard_fixes.addheader` before including the portgroup, which would
look unusual. (The same way that the obsolete-1.0 portgroup requires the
portfile author to set `replaced_by` before including the portgroup, and
that looks unusual.)
The solution is to create an `option_proc` that's called whenever the
`snowleopard_fixes.addheader` option's value is changed; in that proc, you
then add or remove flags as needed depending on the value the option is
being set to.
`grep` the groups directory for `option_proc` for some examples.
--
Ticket URL: <https://trac.macports.org/ticket/55469#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list