pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Installing neovim on macOS
It looks like Adam has likely resolved the problem by fixing the
lua-lpeg buildlink3.mk so it exposes lpeg.dylib on macOS (the file is
called lpeg.so on all other platforms -- and lpeg.so even exists on
macOS, but neovim _looks for_ only lpeg.dylib on macOS), but here are
some answers to other questions you had:
> Date: Fri, 7 Feb 2025 04:11:03 +0000
> From: "sunqingyao19970825%icloud.com@localhost" <sunqingyao19970825%icloud.com@localhost>
>
> Sorry for the late response. I have recently been upgraded to macOS
> 15.3 and pkgsrc decided to re-compile everything from scratch, which
> took 30 to 40 hours. For some reason, it only compiles with a single
> thread, even though I bootstrapped pkgsrc with "--make-jobs 4". Any
> advice on enabling multiple build jobs is appreciated!
That option only affects the bootstrap. For parallel builds in pkgsrc
after the bootstrap, you need to put MAKE_JOBS=4 in your
$PREFIX/etc/mk.conf file. (Or you can put it in the mk.conf-fragment
you pass to the bootstrap.)
This is confusing, and we should either make it work the way you
expected or make it more obvious why it doesn't, so I've filed a PR to
track this:
PR pkg/59052: bootstrap: --make-jobs should be passed into mk.conf
MAKE_JOBS
https://gnats.NetBSD.org/59052
> Finally, ident seems to be a NetBSD command which is not available on macOS
>
> $ ident devel/cmake/build.mk editors/neovim/Makefile devel/lua-lpeg/buildlink3.mk
> fish: Unknown command: ident
Sorry -- you can get the same result in this case with:
grep '[$]NetBSD:.*[$]' devel/cmake/build.mk editors/neovim/Makefile devel/lua-lpeg/buildlink3.mk
ident(1) is an RCS/CVS utility (which you can get from devel/rcs) to
select and print the RCS tags like `$NetBSD: ...$' in a file.
Home |
Main Index |
Thread Index |
Old Index