Makefile uses non-portable features
Bug #1299862 reported by
Peter Selinger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intltool |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
When internationalizing a package with intltool, the created po/Makefile contains non-portable code that breaks, for example, with the default "make" of FreeBSD.
Specifically, lines such as
CATALOGS=$(shell LINGUAS=
are not understood by FreeBSD's "make", resulting in the error message:
Error expanding embedded variable.
It seems that the specific thing disallowed here is the use of "$$" inside of a $(shell ...) statement.
As a result, packages that use intltool cannot be build on FreeBSD. See e.g., https:/
To post a comment you must log in.
It seems that the bug was introduced in intltool-0.35.0, probably here:
2006-04-11 Rodney Dawes <email address hidden>
* Makefile.in.in: Dump localedir, gnuclocaledir, and gettextsrcdir
variables as we no longer need them
Add DATADIRNAME substitution handling and define itlocaledir with it
Dump GMOFILES as it is not used in here
Add in a variable to deal with old ALL_LINGUAS
Set up PO_LINGUAS to get the locales from the LINGUAS file
Set up POFILES to be generated from one of PO_LINGUAS or ALL_LINGUAS
Dump CATOBJEXT as we no longer need it in here
Set up CATALOGS to be genereated from one of PO_LINGUAS or ALL_LINGUAS
Replace usage of CATALOGS to decipher the locale from, with straight
usage of either PO_LINGUAS or ALL_LINGUAS to get the locale names