Created attachment 227681 [details] Proposed patch (one liner) I am building a number of ports as user with a non-default prefix, which generally works fine, but unearthed one issue with devel/gettext-tools. We need USES=localbase to avoid a build failure: msgmerge.c:35:10: fatal error: 'textstyle.h' file not found #include <textstyle.h> ^~~~~~~~~~~~~ 1 error generated. *** [msgmerge-msgmerge.o] Error code 1 Are you okay for me to commit the attached patch?
Sure, go ahead.
Thank you, Tijl! I plan on committing shortly...
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8fbdcf31372717b09c55a4f6376f447e0b970dc1 commit 8fbdcf31372717b09c55a4f6376f447e0b970dc1 Author: Gerald Pfeifer <gerald@FreeBSD.org> AuthorDate: 2021-09-07 15:54:45 +0000 Commit: Gerald Pfeifer <gerald@FreeBSD.org> CommitDate: 2021-09-07 15:54:45 +0000 devel/gettext-tools: Fix build with non-default prefix Building this port with a non-default prefix gives the following: msgmerge.c:35:10: fatal error: 'textstyle.h' file not found #include <textstyle.h> ^~~~~~~~~~~~~ 1 error generated. *** [msgmerge-msgmerge.o] Error code 1 That is, textstyle.h is present in the appropriate location under our prefix, alas it's not found. USES=localbase addresses this. PR: 258286 Approved by: tijl (maintainer) devel/gettext-tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
As the one originally running into this (and then proposing this change) a merge to quarterly does not appear as high priority to me. If someone wants to go for it, I do not see why not - just won't be pursuing this myself.