[MacPorts] #19953: librsvg-2.26.0 Configure error - bad freetype2.pc file
MacPorts
noreply at macports.org
Mon Jun 15 11:56:02 PDT 2009
#19953: librsvg-2.26.0 Configure error - bad freetype2.pc file
-------------------------------+--------------------------------------------
Reporter: cgtobi@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: librsvg ppc tiger | Port: freetype librsvg
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):
* cc: mcalhoun@… (added)
* status: new => assigned
Comment:
Never mind -- I can reproduce the problem on my system now, after
rebuilding freetype universal with both 32-bit and 64-bit architectures,
following the changes made for #19101. Both freetype2.pc and freetype-
config now contain #ifndefs for !__LP64!__.
{{{
--- freetype-config.old
+++ freetype-config.new
@@ -144,7 +144,11 @@
if test "$enable_shared" = "yes" ; then
eval "rpath=\"$hardcode_libdir_flag_spec\""
fi
+#ifndef __LP64__
+ libs="-lfreetype -lz -Wl,-framework,CoreServices
-Wl,-framework,ApplicationServices"
+#else /* __LP64__ */
libs="-lfreetype -lz "
+#endif /* __LP64__ */
if test "$libdir" != "/usr/lib" && test "$libdir" != "/usr/lib64"; then
echo -L$libdir $rpath $libs
else
}}}
{{{
--- freetype2.pc.old
+++ freetype2.pc.new
@@ -8,5 +8,9 @@
Version: 9.20.3
Requires:
Libs: -L${libdir} -lfreetype
+#ifndef __LP64__
+Libs.private: -lz -Wl,-framework,CoreServices
-Wl,-framework,ApplicationServices
+#else /* __LP64__ */
Libs.private: -lz
+#endif /* __LP64__ */
Cflags: -I${includedir}/freetype2 -I${includedir}
}}}
What should we do about this? For one thing, I think muniversal should
issue a fatal error if a difference is encountered in .pc files; I don't
know of any way to merge these files.
--
Ticket URL: <http://trac.macports.org/ticket/19953#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list