libraries/ftgl: Avoid building pdf docs (seems broken ATM).

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2013-11-04 20:31:10 +01:00 committed by Robby Workman
parent 4d25a9b8cd
commit 85ebdac868
2 changed files with 26 additions and 1 deletions

View file

@ -24,7 +24,7 @@
PRGNAM=ftgl
VERSION=${VERSION:-2.1.3_rc5}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@ -72,6 +72,8 @@ chmod -R a-s,u+rw,go+r-w .
patch -p1 < $CWD/patches/gcc47.patch
# Fix spam that breaks build after autoreconfing
patch -p1 < $CWD/patches/spam.patch
# Avoid building pdf docs (seems broken ATM)
patch -p0 < $CWD/patches/nopdfdocs.patch
autoreconf -i
CFLAGS="$SLKCFLAGS" \

View file

@ -0,0 +1,23 @@
--- configure.ac.old 2008-11-21 14:41:15.000000000 +0100
+++ configure.ac 2008-11-21 14:44:19.000000000 +0100
@@ -64,19 +64,11 @@
CFLAGS="${CFLAGS} -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs"
# Build HTML documentatin?
-AC_PATH_PROG(DOXYGEN, doxygen, no)
+DOXYGEN="no"
AM_CONDITIONAL(HAVE_DOXYGEN, test "x$DOXYGEN" != "xno")
# Build PDF documentation?
-AC_PATH_PROG(LATEX, pdflatex, no)
-AC_PATH_PROG(KPSEWHICH, kpsewhich, no)
-AC_PATH_PROG(DVIPS, dvips, no)
-AC_PATH_PROG(CONVERT, convert, no)
-AC_PATH_PROG(EPSTOPDF, epstopdf, no)
-if test "${DVIPS}" = "no" -o "${KPSEWHICH}" = "no" -o "${EPSTOPDF}" = "no" \
- -o "${CONVERT}" = "no"; then
LATEX="no"
-fi
if test "x${LATEX}" != "xno"; then
AC_MSG_CHECKING(for a4.sty and a4wide.sty)
if "${KPSEWHICH}" a4.sty >/dev/null 2>&1; then