When install lensfun with "make install clean" i got that error: ===> Installing for lensfun-0.3.95_1 ===> Checking if lensfun is already installed ===> Registering installation for lensfun-0.3.95_1 pkg-static: pkg_checksum_hash_sha256_file(read failed): Is a directory *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/lensfun *** Error code 1 Stop. make: stopped in /usr/ports/graphics/lensfun
Created attachment 236878 [details] Patch to pkg-plist I had the same problem. I've include a patch which fixed the issue for me.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f00462870ffcbdaebb11be12b42a8f58bcfead95 commit f00462870ffcbdaebb11be12b42a8f58bcfead95 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-09-28 08:11:30 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-09-28 08:11:30 +0000 graphics/lensfun: fix packaging of the Python bits, enable test suite Python bits require distutils which was missing from the dependencies but often installed on user's machine, this breaking packaging. Drop redundant PYTHON_SUFFIX from the PLIST_SUB while here and enable the build of ancillary program (because why not). PR: 265753 Submitted by: Gian-Simon Purkert graphics/lensfun/Makefile | 22 ++++++++++++++++++---- graphics/lensfun/pkg-plist | 6 +++++- 2 files changed, 23 insertions(+), 5 deletions(-)