Created attachment 230882 [details] fix for liblas-config.cmake build and install After the commit of v2.0.0, the author of LAStools gave me the crucial tip why liblas-config.cmake could not be created and installed [1]. The file is only generated when cmake builds in the sources ... :( [1] https://github.com/LAStools/LAStools/issues/108 The attached patch therefore switches cmake to insource and removes the no longer necessary patch under the post-configure target. The file must still be renamed from LASlib-config.cmake to laslib-config.cmake before staging. While here, add an entry CONFLICTS_INSTALL=liblas, because devel/liblas also installs executables 'las2txt, las2las, txt2las, and lasinfo' under bin/ .
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e5cc987c91e9bbb5ac6d7f5751830ca2971d11e9 commit e5cc987c91e9bbb5ac6d7f5751830ca2971d11e9 Author: Rainer Hurling <rhurlin@FreeBSD.org> AuthorDate: 2022-01-10 18:07:27 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-01-10 18:08:14 +0000 misc/lastools: Fix cmake build for laslib-config.cmake PR: 261091 misc/lastools/Makefile | 9 ++++++--- misc/lastools/pkg-plist | 1 + 2 files changed, 7 insertions(+), 3 deletions(-)