summaryrefslogtreecommitdiffstats
path: root/source/ap/texinfo/texinfo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/texinfo/texinfo.SlackBuild')
-rwxr-xr-xsource/ap/texinfo/texinfo.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/ap/texinfo/texinfo.SlackBuild b/source/ap/texinfo/texinfo.SlackBuild
index 4d7784cea..7675f86d6 100755
--- a/source/ap/texinfo/texinfo.SlackBuild
+++ b/source/ap/texinfo/texinfo.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=texinfo
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-6}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -84,6 +84,9 @@ find . \
# Fix for perl-5.28.0:
zcat $CWD/texinfo.fix.unescaped.left.brace.diff.gz | patch -p1 --verbose || exit 1
+# The --disable-perl-xs below prevents some perl extensions from being replaced
+# by C versions which have been known to choke over UTF-8 issues:
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -93,6 +96,7 @@ CFLAGS="$SLKCFLAGS" \
--infodir=/usr/info \
--disable-static \
--docdir=/usr/doc/texinfo-$VERSION \
+ --disable-perl-xs \
--build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1