diff options
Diffstat (limited to 'graphics/dvisvgm/dvisvgm.SlackBuild')
-rw-r--r-- | graphics/dvisvgm/dvisvgm.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/dvisvgm/dvisvgm.SlackBuild b/graphics/dvisvgm/dvisvgm.SlackBuild index 6d8d210f00..cdf1dfc053 100644 --- a/graphics/dvisvgm/dvisvgm.SlackBuild +++ b/graphics/dvisvgm/dvisvgm.SlackBuild @@ -1,8 +1,7 @@ #!/bin/sh -# Slackware build script for <appname> +# Slackware build script for dvisvgm -# Copyright <year> <you> <where you live> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -71,12 +70,15 @@ find -L . \ # Libkpathsea check... if [ ! -e /usr/include/kpathsea ]; then - ln -s /usr/share/texmf/include/kpathsea /usr/include/kpathsea +# ln -s /usr/share/texmf/include/kpathsea /usr/include/kpathsea + export CPPFLAGS="${CPPFLAGS} -I/usr/share/texmf/include/" fi if [ ! -e /usr/lib${LIBDIRSUFFIX}/libkpathsea.a ]; then - ln -s /usr/share/texmf/lib/libkpathsea.a /usr/lib${LIBDIRSUFFIX}/libkpathsea.a - ln -s /usr/share/texmf/lib/libkpathsea.la /usr/lib${LIBDIRSUFFIX}/libkpathsea.la +# ln -s /usr/share/texmf/lib/libkpathsea.a /usr/lib${LIBDIRSUFFIX}/libkpathsea.a +# ln -s /usr/share/texmf/lib/libkpathsea.la /usr/lib${LIBDIRSUFFIX}/libkpathsea.la + export LIBS="${LIBS} -l/usr/share/texmf/lib/" + export LDFLAGS="${LDFLAGS} -L/usr/share/texmf/lib/" fi CFLAGS="$SLKCFLAGS" \ @@ -105,7 +107,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |