Christian Weisgerber <na...@mips.inka.de> writes: > The po/Makefile.in.in shipped with gettext 0.19 has added > > POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot > POFILESDEPS_yes = $(POFILESDEPS_) > POFILESDEPS_no = > POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT)) > [...] > $(POFILES): $(POFILESDEPS) > > I wonder what the point of PO_DEPENDS_ON_POT is, since the variable > isn't defined anywhere. > > > Unfortunately the construct above triggers a bug in FreeBSD 9's > make(1) that causes it to error out with > > Error expanding embedded variable. > > This bug is fixed in FreeBSD 10+.
See this thread: http://lists.gnu.org/archive/html/bug-gettext/2015-05/msg00015.html In short, a proper fix is to bump AM_GNU_GETTEXT_VERSION(...) in configure.ac to 0.19.1 or later, either by hand or gettextize (or make use of the newly introduced AM_GNU_GETTEXT_REQUIRE_VERSION macro). > For instance, I ran into it with GNU cpio 2.12. That's unfortunate. I'm adding the cpio maintainer to Cc, to notify this issue. Maybe the next gettext release should really fix the build infrastructure of 0.19 in archive.dir.tar*. Regards, -- Daiki Ueno