Summary: | devel/gettext-tools: Support non-default PREFIX | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Gerald Pfeifer <gerald> | ||||
Component: | Individual Port(s) | Assignee: | Gerald Pfeifer <gerald> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | Flags: | tijl:
maintainer-feedback+
koobs: merge-quarterly? |
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
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. |
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?