[MacPorts] #20727: fontconfig 2.7.1 appears to install broken fontconfig.pc
MacPorts
noreply at macports.org
Tue Aug 18 16:24:30 PDT 2009
#20727: fontconfig 2.7.1 appears to install broken fontconfig.pc
---------------------------------------------+------------------------------
Reporter: asb@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: fontconfig pkg-config universal | Port: fontconfig
---------------------------------------------+------------------------------
I was unsure whether to file this bug against fontconfig or cairo.
fontconfig will install successfully with +universal +no_x11 +quartz but I
fail to build cairo 1.8.8 (with identical error as in #16057). I noticed
that pkg-config --list-all fails when reading fontconfig.pc, complaining:
Libs.private field occurs twice in
'/Users/asb/macports/lib/pkgconfig/fontconfig.pc'
This file contains:
{{{
prefix=/Users/asb/macports
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Fontconfig
Description: Font configuration and customization library
Version: 2.7.1
Libs: -L${libdir} -lfontconfig
#if (defined(__ppc__) || defined(__ppc64__))
Libs.private: -lexpat -L/Users/asb/macports/lib -lfreetype -lz
-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices
#else /* ! __ppc__ && ! __ppc64__ */
Libs.private: -lexpat -L/Users/asb/macports/lib -lfreetype -lz
-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -liconv
#endif /* __ppc__ || __ppc64__ */
Cflags: -I${includedir}
}}}
My cairo build will complete successfully if I edit the above file to
include only the non-ppc case, but I haven't yet determined whether
linking to iconv actually breaks anything for ppc.
This is taking place on a 10.4.11 Server machine.
--
Ticket URL: <http://trac.macports.org/ticket/20727>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list