[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] Possible small regression in generated Makefiles from gett
[bug-gettext] Possible small regression in generated Makefiles from gettext-0.19 with old 'make'
Wed, 27 May 2015 17:03:08 -0400
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
I've encountered a possible error in a generated 'po/Makefile' when switching
from gettext 0.18 to 0.19.
I hope 'getetxt' is the relevant mailing list, but if the culprit is a
different autotools part, please let me know.
When using gettext-0.19 in a project,
then running 'configure && make' on FreeBSD 9.3 (which uses some old version of
make will fail with "error expanding embedded variable".
It can be demonstrated with this contrived example Makefile:
srcdir = .
PACKAGE = datamash
POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot
POFILESDEPS_yes = $(POFILESDEPS_)
POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT))
POTFILES = src/datamash.c
It seems that 'PO_DEPENDS_ON_POT' is not defined anywhere, and so expanding it
fails with this version of 'make'.
Note that it doesn't fail with GNU Make, or with the 'bmake' found on FreeBSD
Adding 'PO_DEPENDS_ON_POT=no' solves the issue.
Perhaps by default it can defined as 'no', instead of non-existing/empty
- [bug-gettext] Possible small regression in generated Makefiles from gettext-0.19 with old 'make',
Assaf Gordon <=