summaryrefslogtreecommitdiff
path: root/graphics/fontforge/fontforge.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 22:23:14 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:23:14 +0200
commitce22a7a41767db0d674bb502e865cef85ae186e4 (patch)
tree7ec548e0137ef8f09f20a19fcc2ac0e7eba69557 /graphics/fontforge/fontforge.SlackBuild
parentc7f414da6bc924eee343c961a6646116158fcdaa (diff)
downloadslackbuilds-ce22a7a41767db0d674bb502e865cef85ae186e4.tar.gz
graphics/fontforge: Updated for version 20080927
Diffstat (limited to 'graphics/fontforge/fontforge.SlackBuild')
-rw-r--r--graphics/fontforge/fontforge.SlackBuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild
index 823172ca7d..4c617e7c58 100644
--- a/graphics/fontforge/fontforge.SlackBuild
+++ b/graphics/fontforge/fontforge.SlackBuild
@@ -26,7 +26,7 @@
# file right without too much manual intervention :-)
PRGNAM=fontforge
-VERSION=20080309
+VERSION=20080927
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,6 +40,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -59,13 +61,16 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--with-x \
--with-freetype-src=$CWD/freetype-2.3.5 \
- --with-multilayer \
+ --with-freetype-bytecode=no \
--with-devicetables \
+ --enable-libff \
+ --enable-pyextension \
+ --enable-type3 \
+ --enable-tilepath \
--disable-debug \
--enable-static=no \
--enable-shared=yes \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux
make
make prefix=$PKG/usr libdir=$PKG/usr/lib install
@@ -79,7 +84,7 @@ if [ -e $CWD/cidmaps.tgz ]; then
fi
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)