Re: The cache fontconfig directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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"
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux