[MacPorts] #52365: phantomjs: failing to build in OSX Sierra
MacPorts
noreply at macports.org
Thu Feb 23 00:37:34 UTC 2017
#52365: phantomjs: failing to build in OSX Sierra
----------------------------+----------------------
Reporter: andre.david@… | Owner: stromnov
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: sierra
Port: phantomjs |
----------------------------+----------------------
Comment (by ioquatix):
It looks like because of this
{{{
if ! /usr/bin/xcrun -find xcrun >/dev/null 2>&1; then
echo >&2
echo " Xcode not set up properly. You may need to confirm the
license" >&2
echo " agreement by running /usr/bin/xcodebuild without
arguments." >&2
echo >&2
exit 2
fi
}}}
in src/qt/qtbase/configure
I could fix it by changing to
{{{
if ! /usr/bin/xcrun -find xcodebuild >/dev/null 2>&1; then
echo >&2
echo " Xcode not set up properly. You may need to confirm the
license" >&2
echo " agreement by running /usr/bin/xcodebuild without
arguments." >&2
echo >&2
exit 2
fi
}}}
and in src/qt/qtbase/mkspecs/features/mac/default_pre.prf
{{{
# Make sure Xcode is set up properly
isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild
2>/dev/null"))): \
error("Xcode not set up properly. You may need to confirm the
license agreement by running /usr/bin/xcodebuild.")
}}}
--
Ticket URL: <https://trac.macports.org/ticket/52365#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list