On 12/27/24 6:30 PM, Martin Husemann via gnats wrote:
The following reply was made to PR pkg/58809; it has been noted by GNATS. From: Martin Husemann <martin%duskware.de@localhost> To: gnats-bugs%netbsd.org@localhost Cc: Subject: Re: bin/58809: pkg_add gets confused with -P and library installs Date: Fri, 27 Dec 2024 18:25:26 +0100 Here is a better patch.
There is no reason to depend on O_DIRECTORY. "." is always a directory, so it's a no-op on systems that implement it.
Joerg