tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Whither USE_CMAKE?



On Fri, May 24, 2024 at 11:32:41AM -0700, Greg A. Woods wrote:
> At Fri, 24 May 2024 00:55:19 +0000, David Holland <dholland-pkgtech%netbsd.org@localhost> wrote:
> Subject: Re: Whither USE_CMAKE?
> >
> >  I doubt anyone enjoys tangling with cmake, but
> > maintaining two sets of infrastructure isn't a reasonable expense.)
> 
> Do you think that equation changes if the move is to entirely dump cmake
> and build with a more rational tool (e.g. in the manner of xsrc ditching
> imake)?
> 
> I've found that to be relatively easy for a number of projects, but of
> course some packages do really require more probes into target system
> capabilities.

I only do this if the portability problems are inescapably bad and the
requirements simple enough.  An example might be a shared library that
only consists of a few C files and needs libtoolization.  Sometimes
in that case it's easier to write a new 20 line Makefile than adapt the
existing one.


Home | Main Index | Thread Index | Old Index