[MacPorts] #60656: lcms2 +universal: build error
MacPorts
noreply at macports.org
Mon Jan 11 02:16:49 UTC 2021
#60656: lcms2 +universal: build error
------------------------+----------------------
Reporter: JohnFHall | Owner: kencu
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: lcms2 |
------------------------+----------------------
Comment (by BenceSzalai):
Please note that the fix depends on `[vercmp ${xcodeversion} 10.0] >= 0`,
but it did not help in my case. I guess it was because I'm using Xcode
Command Line Tools instead of the full blown Xcode to compile ports.
Probably another check should be added, which checks the version of the
xCode CLI Tools, because `${xcodeversion}` is not set on my system.
As a workaround I've just removed that condition from my local portfile
which got me `lcms2 +universal` building finally. Unfortunately I'm not
sure what is the replacement for `${xcodeversion}` when only Command Line
Tools are installed.
Looking back now probably a better workaround could have been just to make
sure I have `${xcodeversion}` set, but since during the troubleshooting
I've set up a local Portfile for `lcms2`, it was easier for me just to
remove the part checking that.
Anyway, If you know how to check CLI Tools version as well, the condition
could be extended in the fix. If not, that's fine as well; I'm leaving
this note here for others facing the same problem, so they don't have to
spend hours like I did...
--
Ticket URL: <https://trac.macports.org/ticket/60656#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list