graphics/fontforge: Fix for the newer libtool on -current.

Updated freetype following upstream

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2015-08-22 16:07:07 +02:00 committed by Willy Sudiarto Raharjo
parent c33bb885b0
commit c8f076738a
2 changed files with 13 additions and 4 deletions

View file

@ -29,7 +29,7 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ENABLE_BCINT=${ENABLE_BCINT:-yes}
FREETYPE=${FREETYPE:-"2.5.0.1"}
FREETYPE=${FREETYPE:-"2.6"}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -70,13 +70,22 @@ chown -R root:root $PRGNAM-$VERSION freetype-$FREETYPE
chmod -R u+w,go+r-w,a-s $PRGNAM-$VERSION freetype-$FREETYPE
cd $PRGNAM-$VERSION
./bootstrap
# Fix for the newer libtool
# http://osdir.com/ml/blfs-dev/2015-02/msg00002.html
for i in m4/*.m4; do
if [[ ! -L $i ]]; then continue; fi
j=$(readlink "$i")
ln -sf "${j/aclocal\//aclocal\/lt}" "$i"
done
./bootstrap -f
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-x \
--with-freetype-source=$TMP/freetype-${FREETYPE} \
--enable-python-extension \

View file

@ -3,10 +3,10 @@ VERSION="20141126"
HOMEPAGE="http://fontforge.sourceforge.net/"
DOWNLOAD="http://unrealize.co.uk/source/fontforge-20141126.tar.gz \
http://fontforge.sf.net/cidmaps.tgz \
http://slackware.osuosl.org/slackware-14.1/source/l/freetype/freetype-2.5.0.1.tar.xz"
http://ponce.cc/slackware/sources/repo/freetype-2.6.tar.xz"
MD5SUM="eaf134632c6c3a1a9c2cf8c8026a0c4a \
063691163e592515b31514515bb3ce8c \
7ca0e253eb589b30d3e33786dbf39dff"
7662700e5d5f471349ba6e557e04acb3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""