summaryrefslogtreecommitdiff
path: root/system/man-db/man-db.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-05-07 14:04:07 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-10 07:04:50 +0700
commitab5d6d619fe4a1740d69f2882fd7e753fe1a5ede (patch)
tree4905aa9a4597a2ad63c79e4be17353493a533224 /system/man-db/man-db.SlackBuild
parent97316b32e6b7e56dcd817e6f2f09e2e8976fbf9b (diff)
downloadslackbuilds-ab5d6d619fe4a1740d69f2882fd7e753fe1a5ede.tar.gz
system/man-db: Updated for version 2.7.1, libpipeline 1.4.0.
Diffstat (limited to 'system/man-db/man-db.SlackBuild')
-rw-r--r--system/man-db/man-db.SlackBuild16
1 files changed, 13 insertions, 3 deletions
diff --git a/system/man-db/man-db.SlackBuild b/system/man-db/man-db.SlackBuild
index 1b1ccfc37c..acfb405f3f 100644
--- a/system/man-db/man-db.SlackBuild
+++ b/system/man-db/man-db.SlackBuild
@@ -6,13 +6,18 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20150507 bkw:
+# - update for 2.7.1.
+# - fix homepage in .info file.
+# - had to update libpipeline to 1.4.0.
+
# 20140924 bkw:
# - update for 2.7.0.1, which fixes the clash between man-db's zsoelim
# and groff's zsoelim.
# - update README and README.Slackware slightly.
PRGNAM=man-db
-VERSION=${VERSION:-2.7.0.1}
+VERSION=${VERSION:-2.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,7 +74,7 @@ mkdir -p $TMP $PKG $OUTPUT
# Instead of making it a separate build and external dep, we'll just
# bundle it here.
LIBNAM=libpipeline
-LIBVER=1.3.1
+LIBVER=1.4.0
cd $TMP
rm -rf $LIBNAM-$LIBVER
@@ -112,8 +117,13 @@ 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 {} \;
+# The circumlocutions below are needed because doing it the sane way:
+# libpipeline_LIBS="-L$PKG/usr/lib$LIBDIRSUFFIX -lpipeline"
+# gets broken by libtool (it *insists* on replacing -lpipeline with
+# /usr/lib64/libpipeline.so, which will fail if it's an older version).
+LDFLAGS="$PKG/usr/lib$LIBDIRSUFFIX/libpipeline.so" \
libpipeline_CFLAGS="-I$PKG/usr/include" \
-libpipeline_LIBS="-L$PKG/usr/lib$LIBDIRSUFFIX -lpipeline" \
+libpipeline_LIBS="-L$PKG/usr/lib$LIBDIRSUFFIX $PKG/usr/lib$LIBDIRSUFFIX/libpipeline.so" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \