[MacPorts] #61265: libaacs: requires 10.7+ SDK
MacPorts
noreply at macports.org
Sat Oct 3 16:52:21 UTC 2020
#61265: libaacs: requires 10.7+ SDK
---------------------------+------------------------
Reporter: chrstphrchvz | Owner: i0ntempest
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: libaacs |
---------------------------+------------------------
Comment (by kencu):
It worked, it appears:
{{{
$ port -v installed libaacs
The following ports are currently installed:
libaacs @0.11.0_0 (active) platform='darwin 10' archs='x86_64'
date='2020-10-03T09:49:52-0700'
}}}
I added this bit from {{{libsdl2}}} to the {{{libaacs}}} portfile:
{{{
platform macosx {
if {${os.major} <= 10} {
# Build requires at least 10.7.3 SDK, even when targeting 10.6
set lion_sdkpath ${developer_dir}/SDKs/MacOSX10.7.sdk
if {[file exists $lion_sdkpath]} {
configure.sdkroot $lion_sdkpath
} else {
pre-fetch {
error "Building $name @${version} on Mac OS X 10.6
requires the MacOSX10.7.sdk to be present in ${developer_dir}/SDKs/"
}
}
}
}
}}}
I admit I have not seen an immediate way to test it, though.
--
Ticket URL: <https://trac.macports.org/ticket/61265#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list