aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-01-17 12:42:07 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2018-01-17 12:42:07 +0100
commit5cfc4e2df8e99f9710f18b02a1c9d36b379a0bd1 (patch)
treee0bce0b32fbff5cc306bea62c917634298f9c868 /libraries
parent2b2a6afbfbdfb625bc64dbdcc2a4fade9d41c500 (diff)
libraries/uriparser: Fix docs installation errors.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/uriparser/uriparser.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/uriparser/uriparser.SlackBuild b/libraries/uriparser/uriparser.SlackBuild
index 585600a3ebc3..f6675cfdfffd 100644
--- a/libraries/uriparser/uriparser.SlackBuild
+++ b/libraries/uriparser/uriparser.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for uriparser
-# Copyright 2015-2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2015-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=uriparser
VERSION=${VERSION:-0.8.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,6 +71,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# fix docs installation errors - thanks fedora!
+sed -i -e 's,html/\*.map\ ,,g' doc/Makefile.in
+sed -i -e 's,-\$(INSTALL_DATA) \*.qch "$(DESTDIR)\$(docdir)/",,g' doc/Makefile.in
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \