]> git.wh0rd.org - fontconfig.git/commitdiff
Use of ":=" in src/Makefile.am is unportable (bug 14420)
authorKeith Packard <keithp@keithp.com>
Sun, 4 May 2008 03:07:35 +0000 (20:07 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 4 May 2008 03:07:35 +0000 (20:07 -0700)
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

index c2282af31a66bf1add8ffb4b0011152e9370aa31..129d74bf7df348158963698b24ed23c948d495ab 100644 (file)
@@ -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 $@