[Fontconfig-bugs] [Bug 69836] fonts.conf.in update for Windows cross-compiling

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 26 03:48:02 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=69836

Akira TAGOH <akira at tagoh.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|fontconfig-bugs at lists.freed |akira at tagoh.org
                   |esktop.org                  |
                 CC|                            |akira at tagoh.org,
                   |                            |fontconfig-bugs at lists.freed
                   |                            |esktop.org

--- Comment #1 from Akira TAGOH <akira at tagoh.org> ---
Guess does this work?

diff --git a/Makefile.am b/Makefile.am
index d310b4b..2b949e4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -90,12 +90,14 @@ $(srcdir)/ChangeLog:

 .PHONY: ChangeLog

+FC_CONFIGDIR = $(subst $(BASECONFIGDIR)/,,$(CONFIGDIR))
+
 fonts.conf: fonts.conf.in Makefile
        sed \
                -e 's, at FC_CACHEDIR\@,$(FC_CACHEDIR),g' \
                -e 's, at FC_DEFAULT_FONTS\@,$(FC_DEFAULT_FONTS),g' \
                -e 's, at FC_FONTPATH\@,$(FC_FONTPATH),g' \
-               -e 's, at CONFIGDIR\@,$(CONFIGDIR),g' \
+               -e 's, at CONFIGDIR\@,$(FC_CONFIGDIR),g' \
                -e 's, at PACKAGE\@,$(PACKAGE),g' \
                -e 's, at VERSION\@,$(VERSION),g' \
                $(srcdir)/$@.in > $@.tmp && \

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20130926/c8457c55/attachment-0001.html>


More information about the Fontconfig-bugs mailing list