Tried to build sysutils/openzfs for FreeBSD 12.1-RELEASE, received this error:
libshare.c:31:10: fatal error: 'libintl.h' file not found
1 error generated.
Port makefile says USES= gettext-runtime:run but clearly it's required for build too because that's the package that provides libintl.h
Version 2020022700 compiles fine on my AMD64 box. Poudriere isn't happy about openzfs-2020031600 however, it does compile but it fails stage-qa.
Created attachment 214253 [details]
same issue occured.
gettext-runtime is required for the build.
If you set OPTIONS_UNSET=NLS, you cannot build.
What seems to work is that if you don't have OPTIONS_UNSET=NLS, other dependencies have gettext-runtime installed.
It seems good to use USES+=gettext-runtime instead of USES+=gettext-runtime:run.