Subject: fontconfig-2.4.2 fails build (with fix)
To: None <pkgsrc-users@netbsd.org>
From: De Zeurkous <zeurkous@nichten.info>
List: pkgsrc-users
Date: 07/18/2007 16:20:07
------=_20070718162007_53627
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Haai,

On both NetBSD-3.1/i386 and Slackware Lunix 10.2, fontconfig won't build
correctly:

#ifdef LUNIX
# make() ( exec bmake "${@}"; );
#endif

# cd /usr/pkgsrc/fonts/fontconfig/
# make clean clean-depends
<snip correct output>
# make
<blaat blaat>
fcaliastail.h:*:2: #endif without #if
<stopped scaahp scaahp>
# fsck

The offending problem repeats itself for every few other lines in the
range {7..545}.

# zsh
# cd work/fontconfig-2.4.2/src/
# mv -v fcaliastail.h{,.old}
# <fcaliastail.h.old sed 's/#endif//' >fcaliastail.h
# echo '#endif' >>fcaliastail.h
# exit
# make && make install
<snip seemingly correct output>

This seems to fix the problem for now. Log for Slackware attached; NetBSD
available on request (since Lunix can't handle FFS and NetBSD is not yet
the primary OS of this system).

Baai,

De Zeurkous
-----------

Friggin' Machines!
------=_20070718162007_53627
Content-Type: application/octet-stream; name="fcding-slackware-10.2.log"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="fcding-slackware-10.2.log"

------=_20070718162007_53627--