You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
sqlite2: update config.{guess,sub} for arm64
This commit is contained in:
@@ -23,6 +23,15 @@ depends_lib port:readline
|
||||
|
||||
patchfiles patch-configure patch-Makefile.in implicit.patch
|
||||
|
||||
# Update config.guess and config.sub to be able to build on arm64.
|
||||
depends_build-append port:automake
|
||||
post-patch {
|
||||
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}
|
||||
}
|
||||
|
||||
build.type gnu
|
||||
|
||||
universal_variant no
|
||||
|
||||
Reference in New Issue
Block a user