[Fontconfig] The cache fontconfig directory

Behdad Esfahbod behdad at cs.toronto.edu
Wed Apr 5 20:58:37 PDT 2006


On Wed, 5 Apr 2006, Patrick Lam wrote:

> You have found a bug in fontconfig in that make install fails if it
> can't make the {localstatedir}/fontconfig directory.  I don't know how
> to fix that bug, but I'd welcome patches.  You just need to find the
> line where it creates the directory and add a -; the complication is
> that we go through automake, etc.

[behdad at home fontconfig-2_4_branch]$ grep pkgcache `find -name Makefile.am`
./fc-cache/Makefile.am:AM_CPPFLAGS = -DPKGCACHEDIR='"${pkgcachedir}"'
./fc-cache/Makefile.am: $(mkinstalldirs) "$(DESTDIR)$(pkgcachedir)"
./fc-cache/Makefile.am: $(RM) -rf "$(DESTDIR)$(pkgcachedir)"
./fc-cat/Makefile.am:AM_CPPFLAGS = -DPKGCACHEDIR='"${pkgcachedir}"'
./src/Makefile.am:AM_CPPFLAGS = -DPKGCACHEDIR='"${pkgcachedir}"'

Seems like all you need is to protect the RM command against
failures.


> pat

--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
	-- Dan Bern, "New American Language"


More information about the Fontconfig mailing list