Created attachment 243602 [details] patch share/cmake is the correct location. share/cmake/Modules introduced by the patch was wrong. cmake doesn't find modules there. Removing the incorrect patch.
(In reply to Yuri Victorovich from comment #0) Thanks for pointing it out. It was there before I took maintainership. I'm not familiar with cmake stuff. But I checked other ports, it seems that thses cmake config files should be placed in lib/cmake/foo/. Could you please provide more information on it? Thanks.
Committed. Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b070f178f6fd21153d0ff9802ac6bbb7ab0560e8 commit b070f178f6fd21153d0ff9802ac6bbb7ab0560e8 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-04-10 07:12:06 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-04-10 07:20:04 +0000 shells/bash-completion: Fix cmake files location - Bump PORTREVISION for package change PR: 272708 Submitted by: yuri shells/bash-completion/Makefile | 1 + shells/bash-completion/files/patch-Makefile.am | 11 ++--------- shells/bash-completion/pkg-plist | 4 ++-- 3 files changed, 5 insertions(+), 11 deletions(-)