hi,
on the way to building pango on osx 10.2.2, i needed to make a couple of
changes to fontconfig CVS head in order to get i to build install
successfully .....
all the details should be up on my site (below) in the next couple of days
......
(EDITOR) configure.in
MKSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
--- DSO_LDOPTS='-shared -Wl,-h,`echo $@ | sed
'"'s/\.so\.\([[0-9][0-9]]*\).*/.so.\1/'"'`'
+++ DSO_LDOPTS='-dynamic -dynamiclib -install_name $@'
DSO_CFLAGS=''
--- DSO_PIC_CFLAGS='-fPIC -DPIC'
+++ DSO_PIC_CFLAGS='-fPIC -fno-common'
(EDITOR) config/Makedefs.in
--- LIBBASE=libfontconfig.so
--- LIBFILE=$(LIBBASE).@PACKAGE_MAJOR@.@PACKAGE_MINOR@
--- LIBMAJOR=$(LIBBASE).@PACKAGE_MAJOR@
+++ LIBBASE_PREFIX=libfontconfig
+++ LIBBASE_SUFFIX=dylib
+++ LIBBASE=$(LIBBASE_PREFIX).$(LIBBASE_SUFFIX)
+++
LIBFILE=$(LIBBASE_PREFIX).@PACKAGE_MAJOR@.@PACKAGE_MINOR@.$(LIBBASE_SUFFIX)
+++ LIBMAJOR=$(LIBBASE_PREFIX).@PACKAGE_MAJOR@.$(LIBBASE_SUFFIX)
with the changes made above, the install goes as:
[root@g4edgar]/usr/ports/fontconfig> make -n install
for d in src fc-cache fc-list fontconfig; do (cd $d && make install); done
/usr/bin/install -c libfontconfig.1.0.dylib
/usr/X11R6/lib/libfontconfig.1.0.dylib
rm -f /usr/X11R6/lib/libfontconfig.1.dylib
ln -s libfontconfig.1.0.dylib /usr/X11R6/lib/libfontconfig.1.dylib
rm -f /usr/X11R6/lib/libfontconfig.dylib
ln -s libfontconfig.1.dylib /usr/X11R6/lib/libfontconfig.dylib
/usr/bin/install -c fc-cache /usr/X11R6/bin/fc-cache
/usr/bin/install -c fc-list /usr/X11R6/bin/fc-list
mkdir -p /usr/X11R6/include/fontconfig
/usr/bin/install -c -m 644 fcfreetype.h
/usr/X11R6/include/fontconfig/fcfreetype.h
/usr/bin/install -c -m 644 fcprivate.h
/usr/X11R6/include/fontconfig/fcprivate.h
/usr/bin/install -c -m 644 fontconfig.h
/usr/X11R6/include/fontconfig/fontconfig.h
mkdir -p /usr/X11R6/lib/pkgconfig
if [ -f /etc/fonts/fonts.conf ]; then \
echo "Not overwriting existing /etc/fonts/fonts.conf"; \
else \
/usr/bin/install -c -m 644 fonts.conf /etc/fonts/fonts.conf; \
fi
/usr/bin/install -c fontconfig-config /usr/X11R6/bin/fontconfig-config
/usr/bin/install -c -m 644 fontconfig.pc
/usr/X11R6/lib/pkgconfig/fontconfig.pc
[root@g4edgar]/usr/ports/fontconfig>
which looks about right ....... you'll probably want to add these in as
conditionals, of course .....
cheers,
richard
--------------------------------------
R Blake
blakers <at> mac <dot> com
http://www.presence-group.com/opensource_osx
--------------------------------------
MacOSX ..... because Windows sux.
--------------------------------------
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts