From 3322ca855330631e0d849e6beca0c2d82390898f Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 3 May 2008 20:07:35 -0700 Subject: [PATCH] Use of ":=" in src/Makefile.am is unportable (bug 14420) Building 2.5.91 on Solaris with the native make(1) yields ... Making all in src make: Fatal error in reader: Makefile, line 313: Unexpected end of line seen Current working directory /tmp/fontconfig-2.5.91/src *** Error code 1 This is due to the following line (src/Makefile.am:143): CLEANFILES := $(ALIAS_FILES) Changing that to a standard assignment ("=") fixes the problem. I believe the ":=" is a typo. ALIAS_FILES is just a statically assigned variable; it's not like evaluating it more than once would be a problem. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index c2282af..129d74b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -140,7 +140,7 @@ fcftaliastail.h: fcftalias.h fcftalias.h: $(top_srcdir)/src/makealias $(PUBLIC_FT_FILES) sh $(top_srcdir)/src/makealias "$(top_srcdir)/src" fcftalias.h fcftaliastail.h $(PUBLIC_FT_FILES) -CLEANFILES := $(ALIAS_FILES) +CLEANFILES = $(ALIAS_FILES) fontconfig.def: $(PUBLIC_FILES) echo Generating $@ -- 2.39.5