[MacPorts] #65069: brotli: Don't use cmake
MacPorts
noreply at macports.org
Fri May 6 07:46:54 UTC 2022
#65069: brotli: Don't use cmake
--------------------------+--------------------
Reporter: ryandesign | Owner: raimue
Type: enhancement | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: brotli |
--------------------------+--------------------
Comment (by ryandesign):
I chose to go with cmake-bootstrap because it was a quick drop-in fix for
the problem and the autotools build system is not mentioned in the readme
whereas the cmake build system is. But there is an autotools build system
which we could still investigate to get rid of the cmake-bootstrap
dependency (since it is not used by anything else and it does take awhile
to build from source (382 seconds on my 2016 MBP; much longer on the older
systems that are more likely to need such bootstrapping) and curl is
sometimes installed in a secondary MacPorts prefix (to be used to
bootstrap a primary MacPorts prefix with newer curl support) where
binaries are not available). The project's configure script is just a
placeholder that prints this message:
{{{
Use Autotools, Bazel, CMake or Premake5 to generate projects / build
files.
Bazel: http://www.bazel.build/
CMake: https://cmake.org/
Premake5: https://premake.github.io/
To generate Autotools 'configure' file run './bootstrap'.
Run './configure-cmake' for Autotools-like CMake configuration.
Or simply run 'make' to build and test command line tool.
}}}
so we would need to add autoconf/automake/libtool dependencies and run
`./bootstrap` to generate the autotools files but those ports build much
faster than cmake-bootstrap (14 seconds for autoconf, 9 seconds for
automake, and 27 seconds for libtool on my 2016 MBP) and more likely to
already be needed by other ports.
--
Ticket URL: <https://trac.macports.org/ticket/65069#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list