On Thu, Sep 16, 2021 at 05:47:19PM +0100, Stuart Henderson wrote: > On 2021/09/16 16:05, Sergey A. Osokin wrote: > > On Thu, Sep 16, 2021 at 04:00:08PM +0100, Stuart Henderson wrote: > > > On 2021/09/16 14:46, Sergey A. Osokin wrote: > > > > On Tue, Sep 07, 2021 at 12:56:03PM +0000, Sergey A. Osokin wrote:
[...] > > NGINX Unit doesn't utilize perl-/python-/ruby-specific infrastructure, > > it just install its own module for specific languages and their versions. > > they are installed in a directory outside of /usr/local (the normal PREFIX for > ports/packages). True. I've found that www/nginx installs its modules into /var/www/modules, and that's why I did the same for NGINX Unit, last one installs its own modules into /var/unit/modules. Please confirm it's correct. And if it's not correct, could you guide me where should I install NGINX Unit modules. And here's the example: on both FreeBSD and NetBSD it's ${PREFIX}/libexec/unit/modules directory. > that should be handled by setting PREFIX-$subpkg rather than > with what is essentially @cwd /var/www/unit/modules That's a bit unclear, could you provide an example how can I handle that. Thank you. -- Sergey A. Osokin