summaryrefslogtreecommitdiffstats
path: root/source/ap/man-db/man-db.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/man-db/man-db.SlackBuild')
-rwxr-xr-xsource/ap/man-db/man-db.SlackBuild15
1 files changed, 4 insertions, 11 deletions
diff --git a/source/ap/man-db/man-db.SlackBuild b/source/ap/man-db/man-db.SlackBuild
index 60f749c50..7868dfe40 100755
--- a/source/ap/man-db/man-db.SlackBuild
+++ b/source/ap/man-db/man-db.SlackBuild
@@ -8,7 +8,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=man-db
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
MAN2HTML=${MAN2HTML:-20180101}
@@ -78,7 +78,7 @@ fi
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-$TMP}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -174,13 +174,6 @@ 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 'checking for long filenames' test in the configure script writes to
-# /usr/lib, which is bad behaviour for a configure script. Not to mention
-# wrong (it assumes configure is always being run as root). We already
-# know we have long filename support, because we live in the 21st century
-# now, so this patch gets rid of the test and force-enables it.
-zcat $CWD/dont_write_in_usr.diff.gz | patch -p1 --verbose || exit 1
-
# 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
@@ -250,8 +243,8 @@ rm -rf $PKG/etc/man_db.conf
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
- ChangeLog FAQ* NEWS* README* docs/COPYING* docs/HACKING docs/INSTALL.quick \
- docs/TODO docs/*lsm docs/*example* \
+ ChangeLog FAQ* NEWS* README* COPYING* docs/HACKING* docs/INSTALL.quick \
+ docs/TODO* docs/*lsm docs/*example* \
$PKG/usr/doc/$PKGNAM-$VERSION
mkdir -p $PKG/install