[Bug 234833] USES=autoreconf fails if a port uses gettext but user disables NLS port option
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Sep 7 13:32:53 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234833
--- Comment #18 from Tijl Coosemans <tijl at FreeBSD.org> ---
In make syntax it's not easy to scan configure.ac and then modify
BUILD_DEPENDS, so I would say it's not feasible to fix the framework. In ports
like fetchmail you really should just use:
USES=autoreconf gettext-tools
NLS_USES=gettext-runtime
That's easier for you to maintain and easier for me as autotools maintainer.
In a way, disabling the NLS option does not mean without gettext, it means
without natural language support. It's perhaps unfortunate that it may still
need gettext, but so be it. As a build dependency it's not a big deal imho.
It would be different if it was a run dependency.
Autoreconf doesn't just need autopoint by the way, it also needs gettext.m4 to
get the definition of the AM_GNU_GETTEXT macro. Presumably, fetchmail has a
bundled copy of gettext.m4, but that's not something the framework can rely on.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list