Created attachment 226708 [details] Patch port Makefile to pass PREFIX to configure script The lbidiff configure script sets PREFIX="/usr/local" which forces some of the files to be staged to ${STAGEDIR}/usr/local instead of ${STAGEDIR}${LOCALBASE}, resulting in the port install target not finding those files. The attached patch adds CONFIGURE_ARGS+= PREFIX=${PREFIX} to the port's Makefile to force the desired ${STAGEDIR}${LOCALBASE} destination for all of the port's files. Maybe this is not the canonical way to fix this (do we need to 'patch' the configure script instead?) but "it works for me" and it's a simple solution.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6987fb41bc0293fd594d0c55e74232e3c8069f64 commit 6987fb41bc0293fd594d0c55e74232e3c8069f64 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2021-08-03 16:42:28 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2021-08-03 16:45:01 +0000 textproc/libdiff: respect PREFIX PR: 257430 Submitted by: John Marshall <john@jmarshall.id.au> textproc/libdiff/Makefile | 1 + 1 file changed, 1 insertion(+)
this is the right way to fix thank you