[MacPorts] #66605: gts @0.7.6-20121130_1: universal build fails on M1 Mac
MacPorts
noreply at macports.org
Mon Jan 2 21:42:59 UTC 2023
#66605: gts @0.7.6-20121130_1: universal build fails on M1 Mac
---------------------+------------------------
Reporter: kencu | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gts |
---------------------+------------------------
Comment (by kencu):
adding the usual block works:
{{{
platform darwin arm {
depends_build-append port:automake
post-patch {
# Use newer config.guess and config.sub to support Apple Silicon.
set automake_dirs [glob -directory ${prefix}/share automake-*]
set automake_dir [lindex [lsort -command vercmp $automake_dirs]
end]
copy -force ${automake_dir}/config.guess
${automake_dir}/config.sub \
${worksrcpath}
}
}
}}}
{{{
% port -v installed gts
The following ports are currently installed:
gts @0.7.6-20121130_1 requested_variants='' platform='darwin 22'
archs='arm64' date='2022-12-29T12:06:07-0800'
gts @0.7.6-20121130_1+universal (active) requested_variants='+universal'
platform='darwin 22' archs='arm64 x86_64' date='2023-01-02T13:41:41-0800'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66605#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list