aboutsummaryrefslogtreecommitdiff
path: root/libraries/ftgl
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-04 20:31:10 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-06 00:53:27 -0600
commit85ebdac868e5699972dba15a370decd6f16b131f (patch)
treef962b05e1a52ceb676f15b667c6576ec2cb198be /libraries/ftgl
parent4d25a9b8cdc276fe574d8a4e92033e57acc3752c (diff)
libraries/ftgl: Avoid building pdf docs (seems broken ATM).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/ftgl')
-rw-r--r--libraries/ftgl/ftgl.SlackBuild4
-rw-r--r--libraries/ftgl/patches/nopdfdocs.patch23
2 files changed, 26 insertions, 1 deletions
diff --git a/libraries/ftgl/ftgl.SlackBuild b/libraries/ftgl/ftgl.SlackBuild
index 959847aac1514..ee47752ef385c 100644
--- a/libraries/ftgl/ftgl.SlackBuild
+++ b/libraries/ftgl/ftgl.SlackBuild
@@ -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" \
diff --git a/libraries/ftgl/patches/nopdfdocs.patch b/libraries/ftgl/patches/nopdfdocs.patch
new file mode 100644
index 0000000000000..e938665bad8ad
--- /dev/null
+++ b/libraries/ftgl/patches/nopdfdocs.patch
@@ -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