summaryrefslogtreecommitdiff
path: root/graphics/fontforge/fontforge.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-08-22 16:07:07 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitc8f076738ae5c6c7bc1f447a9005825d5c675a67 (patch)
tree71db3291797731a50fd2fb214282ebc7c634c421 /graphics/fontforge/fontforge.SlackBuild
parentc33bb885b0f28b61ac3135ab4eb59397221bcfeb (diff)
downloadslackbuilds-c8f076738ae5c6c7bc1f447a9005825d5c675a67.tar.gz
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>
Diffstat (limited to 'graphics/fontforge/fontforge.SlackBuild')
-rw-r--r--graphics/fontforge/fontforge.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild
index 23767033e1..3eafe3df3e 100644
--- a/graphics/fontforge/fontforge.SlackBuild
+++ b/graphics/fontforge/fontforge.SlackBuild
@@ -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 \